#0F3857#0F3857

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

Color values

HEX#0F3857
RGBrgb(15, 56, 87)
HSLhsl(206, 71%, 20%)
HSVhsv(206, 83%, 34%)
CMYKcmyk(82.8%, 35.6%, 0%, 65.9%)
CIE-LABlab(22.36, -1.74, -22.68)
CIE-LCHlch(22.36, 22.74, 265.60°)
OKLaboklab(32.95% -0.0293 -0.0644)
OKLCHoklch(32.95% 0.071 245.5)
XYZxyz(3.3308, 3.6176, 9.5377)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3857 #572E0F
analogous
#0F5752 #0F3857 #0F1457
triadic
#0F3857 #570F38 #38570F
tetradic
#0F3857 #520F57 #572E0F #14570F
square
#0F3857 #520F57 #572E0F #14570F
split-complementary
#0F3857 #570F14 #57520F
monochromatic
#05111A #061623 #0F3857 #185A8B #217BBF

Accessibility & contrast

On white

12.18
#0F3857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0F3857 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3857
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3857#FFFFFF#000000##FFFFFF
##0F38571.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#1F3256
Tritanopia (blue-blind)
#004043
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3857;
/* rgb */ color: rgb(15, 56, 87);
/* oklch */ color: oklch(32.9% 0.071 245.5);
Tailwind
colors: {
  custom: {
    50: '#5a6e86',
    500: '#0f3857',
    950: '#000000',
  },
}
SCSS
$custom: #0f3857;
$custom-light: #5a6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3857",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 87
  },
  "hsl": {
    "h": 205.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.07075,
    "h": 245.5
  },
  "luminance": 0.03618
}

Semantic roles & 50–950 ramp

primary
#0F3857
secondary
#915A31
accent
#873AED
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04070B
muted
#797A7C

Preview Lab

Preview with #0F3857

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

Preview Lab → · Contrast checker → · Palette generator →

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