#0F3951#0F3951

#0F3951 is a dark, moderate cyan. Relative luminance 0.036; OKLCH L 32.9% C 0.062 H 238.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#0F3951
RGBrgb(15, 57, 81)
HSLhsl(202, 69%, 19%)
HSVhsv(202, 81%, 32%)
CMYKcmyk(81.5%, 29.6%, 0%, 68.2%)
CIE-LABlab(22.38, -4.91, -18.69)
CIE-LCHlch(22.38, 19.32, 255.28°)
OKLaboklab(32.85% -0.0326 -0.0528)
OKLCHoklch(32.85% 0.062 238.3)
XYZxyz(3.1447, 3.6215, 8.3163)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3951 #51270F
analogous
#0F5148 #0F3951 #0F1851
triadic
#0F3951 #510F39 #39510F
tetradic
#0F3951 #480F51 #51270F #18510F
square
#0F3951 #480F51 #51270F #18510F
split-complementary
#0F3951 #510F18 #51480F
monochromatic
#05121A #05151D #0F3951 #195D85 #2282B8

Accessibility & contrast

On white

12.18
#0F3951 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0F3951 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3951
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3951#FFFFFF#000000##FFFFFF
##0F39511.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3952
Deuteranopia (green-blind)
#253351
Tritanopia (blue-blind)
#003F41
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3951;
/* rgb */ color: rgb(15, 57, 81);
/* oklch */ color: oklch(32.9% 0.062 238.3);
Tailwind
colors: {
  custom: {
    50: '#586f82',
    500: '#0f3951',
    950: '#000000',
  },
}
SCSS
$custom: #0f3951;
$custom-light: #586f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3951",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 81
  },
  "hsl": {
    "h": 201.818,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3285,
    "c": 0.06203,
    "h": 238.3
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#0F3951
secondary
#8B5231
accent
#7C3CEC
background
#F5F6F7
surface
#E9ECEE
border
#C5C7C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3951

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

Preview Lab → · Contrast checker → · Palette generator →

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