#0F3F51#0F3F51

#0F3F51 is a dark, muted cyan. Relative luminance 0.043; OKLCH L 34.5% C 0.059 H 227.7°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#0F3F51
RGBrgb(15, 63, 81)
HSLhsl(196, 69%, 19%)
HSVhsv(196, 81%, 32%)
CMYKcmyk(81.5%, 22.2%, 0%, 68.2%)
CIE-LABlab(24.48, -8.80, -15.42)
CIE-LCHlch(24.48, 17.75, 240.29°)
OKLaboklab(34.53% -0.0394 -0.0433)
OKLCHoklch(34.53% 0.059 227.7)
XYZxyz(3.4591, 4.2502, 8.4211)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3F51 #51210F
analogous
#0F5142 #0F3F51 #0F1E51
triadic
#0F3F51 #510F3F #3F510F
tetradic
#0F3F51 #420F51 #51210F #1E510F
square
#0F3F51 #420F51 #51210F #1E510F
split-complementary
#0F3F51 #510F1E #51420F
monochromatic
#05141A #05171D #0F3F51 #196785 #228FB8

Accessibility & contrast

On white

11.35
#0F3F51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#0F3F51 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3F51
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3F51#FFFFFF#000000##FFFFFF
##0F3F511.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353E52
Deuteranopia (green-blind)
#2D3751
Tritanopia (blue-blind)
#004445
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0f3f51;
/* rgb */ color: rgb(15, 63, 81);
/* oklch */ color: oklch(34.5% 0.059 227.7);
Tailwind
colors: {
  custom: {
    50: '#597482',
    500: '#0f3f51',
    950: '#000000',
  },
}
SCSS
$custom: #0f3f51;
$custom-light: #597482;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3f51",
  "rgb": {
    "r": 15,
    "g": 63,
    "b": 81
  },
  "hsl": {
    "h": 196.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.34526,
    "c": 0.05853,
    "h": 227.7
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#0F3F51
secondary
#8B4931
accent
#6C3CEC
background
#F5F7F7
surface
#E9EDEE
border
#C5C8C9
text
#04080A
muted
#797B7C

Preview Lab

Preview with #0F3F51

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

Preview Lab → · Contrast checker → · Palette generator →

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