#0F2F59#0F2F59

#0F2F59 is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.7% C 0.084 H 256.6°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#0F2F59
RGBrgb(15, 47, 89)
HSLhsl(214, 71%, 20%)
HSVhsv(214, 83%, 35%)
CMYKcmyk(83.1%, 47.2%, 0%, 65.1%)
CIE-LABlab(19.46, 5.47, -28.63)
CIE-LCHlch(19.46, 29.14, 280.82°)
OKLaboklab(30.71% -0.0195 -0.082)
OKLCHoklch(30.71% 0.084 256.6)
XYZxyz(3.0160, 2.8555, 9.8415)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2F59 #59390F
analogous
#0F5459 #0F2F59 #140F59
triadic
#0F2F59 #590F2F #2F590F
tetradic
#0F2F59 #590F54 #59390F #0F5914
square
#0F2F59 #590F54 #59390F #0F5914
split-complementary
#0F2F59 #59140F #54590F
monochromatic
#040E1A #061325 #0F2F59 #184B8D #2166C2

Accessibility & contrast

On white

13.37
#0F2F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2F59
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2F59#FFFFFF#000000##FFFFFF
##0F2F591.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A335B
Deuteranopia (green-blind)
#0B2C58
Tritanopia (blue-blind)
#00393F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2f59;
/* rgb */ color: rgb(15, 47, 89);
/* oklch */ color: oklch(30.7% 0.084 256.6);
Tailwind
colors: {
  custom: {
    50: '#5a6788',
    500: '#0f2f59',
    950: '#000000',
  },
}
SCSS
$custom: #0f2f59;
$custom-light: #5a6788;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2f59",
  "rgb": {
    "r": 15,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 214.054,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.08429,
    "h": 256.6
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#0F2F59
secondary
#936831
accent
#A03AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #0F2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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