#0F3948#0F3948

#0F3948 is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.3% C 0.052 H 225.9°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#0F3948
RGBrgb(15, 57, 72)
HSLhsl(196, 66%, 17%)
HSVhsv(196, 79%, 28%)
CMYKcmyk(79.2%, 20.8%, 0%, 71.8%)
CIE-LABlab(21.93, -8.52, -13.39)
CIE-LCHlch(21.93, 15.87, 237.53°)
OKLaboklab(32.34% -0.0364 -0.0375)
OKLCHoklch(32.34% 0.052 225.9)
XYZxyz(2.8294, 3.4954, 6.6552)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3948 #481E0F
analogous
#0F483B #0F3948 #0F1D48
triadic
#0F3948 #480F39 #39480F
tetradic
#0F3948 #3B0F48 #481E0F #1D480F
square
#0F3948 #3B0F48 #481E0F #1D480F
split-complementary
#0F3948 #480F1D #483B0F
monochromatic
#051419 #051419 #0F3948 #1A617B #2489AD

Accessibility & contrast

On white

12.36
#0F3948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#0F3948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3948
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3948#FFFFFF#000000##FFFFFF
##0F39481.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313849
Deuteranopia (green-blind)
#293248
Tritanopia (blue-blind)
#003D3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #0f3948;
/* rgb */ color: rgb(15, 57, 72);
/* oklch */ color: oklch(32.3% 0.052 225.9);
Tailwind
colors: {
  custom: {
    50: '#576f7b',
    500: '#0f3948',
    950: '#000000',
  },
}
SCSS
$custom: #0f3948;
$custom-light: #576f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3948",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 72
  },
  "hsl": {
    "h": 195.789,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.32342,
    "c": 0.05223,
    "h": 225.9
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#0F3948
secondary
#824630
accent
#6C3FE8
background
#F5F6F7
surface
#E9ECED
border
#C5C7C8
text
#030709
muted
#787A7B

Preview Lab

Preview with #0F3948

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

Preview Lab → · Contrast checker → · Palette generator →

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