#0F3451#0F3451

#0F3451 is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.5% C 0.067 H 246.0°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#0F3451
RGBrgb(15, 52, 81)
HSLhsl(206, 69%, 19%)
HSVhsv(206, 81%, 32%)
CMYKcmyk(81.5%, 35.8%, 0%, 68.2%)
CIE-LABlab(20.64, -1.52, -21.42)
CIE-LCHlch(20.64, 21.47, 265.94°)
OKLaboklab(31.47% -0.027 -0.0608)
OKLCHoklch(31.47% 0.067 246)
XYZxyz(2.9096, 3.1513, 8.2379)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3451 #512C0F
analogous
#0F514D #0F3451 #0F1351
triadic
#0F3451 #510F34 #34510F
tetradic
#0F3451 #4D0F51 #512C0F #13510F
square
#0F3451 #4D0F51 #512C0F #13510F
split-complementary
#0F3451 #510F13 #514D0F
monochromatic
#05111A #05131D #0F3451 #195585 #2276B8

Accessibility & contrast

On white

12.88
#0F3451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#0F3451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3451
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3451#FFFFFF#000000##FFFFFF
##0F34511.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273552
Deuteranopia (green-blind)
#1D2F50
Tritanopia (blue-blind)
#003B3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #0f3451;
/* rgb */ color: rgb(15, 52, 81);
/* oklch */ color: oklch(31.5% 0.067 246.0);
Tailwind
colors: {
  custom: {
    50: '#586b82',
    500: '#0f3451',
    950: '#000000',
  },
}
SCSS
$custom: #0f3451;
$custom-light: #586b82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3451",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 81
  },
  "hsl": {
    "h": 206.364,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31474,
    "c": 0.06651,
    "h": 246
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#0F3451
secondary
#8B5831
accent
#893CEC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #0F3451

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

Preview Lab → · Contrast checker → · Palette generator →

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