#0F3954#0F3954

#0F3954 is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.0% C 0.066 H 241.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#0F3954
RGBrgb(15, 57, 84)
HSLhsl(203, 70%, 19%)
HSVhsv(203, 82%, 33%)
CMYKcmyk(82.1%, 32.1%, 0%, 67.1%)
CIE-LABlab(22.54, -3.67, -20.42)
CIE-LCHlch(22.54, 20.75, 259.80°)
OKLaboklab(33.03% -0.0315 -0.0578)
OKLCHoklch(33.03% 0.066 241.4)
XYZxyz(3.2597, 3.6675, 8.9219)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3954 #542A0F
analogous
#0F544D #0F3954 #0F1754
triadic
#0F3954 #540F39 #39540F
tetradic
#0F3954 #4D0F54 #542A0F #17540F
square
#0F3954 #4D0F54 #542A0F #17540F
split-complementary
#0F3954 #540F17 #544D0F
monochromatic
#05121A #061620 #0F3954 #185C88 #227FBC

Accessibility & contrast

On white

12.11
#0F3954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3954
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3954#FFFFFF#000000##FFFFFF
##0F39541.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#233354
Tritanopia (blue-blind)
#004042
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3954;
/* rgb */ color: rgb(15, 57, 84);
/* oklch */ color: oklch(33.0% 0.066 241.4);
Tailwind
colors: {
  custom: {
    50: '#596f84',
    500: '#0f3954',
    950: '#000000',
  },
}
SCSS
$custom: #0f3954;
$custom-light: #596f84;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3954",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 84
  },
  "hsl": {
    "h": 203.478,
    "s": 69.697,
    "l": 19.412
  },
  "oklch": {
    "l": 0.33031,
    "c": 0.06581,
    "h": 241.4
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#0F3954
secondary
#8E5531
accent
#813BED
background
#F5F6F8
surface
#E9ECEF
border
#C5C7CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3954

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

Preview Lab → · Contrast checker → · Palette generator →

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