#0F3952#0F3952

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

Color values

HEX#0F3952
RGBrgb(15, 57, 82)
HSLhsl(202, 69%, 19%)
HSVhsv(202, 82%, 32%)
CMYKcmyk(81.7%, 30.5%, 0%, 67.8%)
CIE-LABlab(22.43, -4.50, -19.27)
CIE-LCHlch(22.43, 19.78, 256.86°)
OKLaboklab(32.91% -0.0322 -0.0544)
OKLCHoklch(32.91% 0.063 239.4)
XYZxyz(3.1825, 3.6366, 8.5152)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3952 #52280F
analogous
#0F524A #0F3952 #0F1852
triadic
#0F3952 #520F39 #39520F
tetradic
#0F3952 #4A0F52 #52280F #18520F
square
#0F3952 #4A0F52 #52280F #18520F
split-complementary
#0F3952 #520F18 #524A0F
monochromatic
#05121A #06151E #0F3952 #185D86 #2281B9

Accessibility & contrast

On white

12.16
#0F3952 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#0F3952 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3952
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3952#FFFFFF#000000##FFFFFF
##0F39521.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3953
Deuteranopia (green-blind)
#243352
Tritanopia (blue-blind)
#003F42
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3952;
/* rgb */ color: rgb(15, 57, 82);
/* oklch */ color: oklch(32.9% 0.063 239.4);
Tailwind
colors: {
  custom: {
    50: '#596f82',
    500: '#0f3952',
    950: '#000000',
  },
}
SCSS
$custom: #0f3952;
$custom-light: #596f82;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3952",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 82
  },
  "hsl": {
    "h": 202.388,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.06327,
    "h": 239.4
  },
  "luminance": 0.03637
}

Semantic roles & 50–950 ramp

primary
#0F3952
secondary
#8C5331
accent
#7E3CEC
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070A
muted
#797A7C

Preview Lab

Preview with #0F3952

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

Preview Lab → · Contrast checker → · Palette generator →

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