#0F2B52#0F2B52

#0F2B52 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.1% C 0.079 H 257.4°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#0F2B52
RGBrgb(15, 43, 82)
HSLhsl(215, 69%, 19%)
HSVhsv(215, 82%, 32%)
CMYKcmyk(81.7%, 47.6%, 0%, 67.8%)
CIE-LABlab(17.64, 5.34, -26.86)
CIE-LCHlch(17.64, 27.39, 281.25°)
OKLaboklab(29.15% -0.0172 -0.0769)
OKLCHoklch(29.15% 0.079 257.4)
XYZxyz(2.5833, 2.4382, 8.3155)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2B52 #52360F
analogous
#0F4D52 #0F2B52 #150F52
triadic
#0F2B52 #520F2B #2B520F
tetradic
#0F2B52 #520F4D #52360F #0F5215
square
#0F2B52 #520F4D #52360F #0F5215
split-complementary
#0F2B52 #52150F #4D520F
monochromatic
#050E1A #06101E #0F2B52 #184686 #2261B9

Accessibility & contrast

On white

14.11
#0F2B52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0F2B52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2B52
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2B52#FFFFFF#000000##FFFFFF
##0F2B521.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#0B2851
Tritanopia (blue-blind)
#00343A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0f2b52;
/* rgb */ color: rgb(15, 43, 82);
/* oklch */ color: oklch(29.1% 0.079 257.4);
Tailwind
colors: {
  custom: {
    50: '#586383',
    500: '#0f2b52',
    950: '#000000',
  },
}
SCSS
$custom: #0f2b52;
$custom-light: #586383;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2b52",
  "rgb": {
    "r": 15,
    "g": 43,
    "b": 82
  },
  "hsl": {
    "h": 214.925,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29148,
    "c": 0.07879,
    "h": 257.4
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#0F2B52
secondary
#8C6631
accent
#A23CEC
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050A
muted
#79797C

Preview Lab

Preview with #0F2B52

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#0F2B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva