#0F4876#0F4876

#0F4876 is a dark, moderate cyan. Relative luminance 0.060; OKLCH L 39.2% C 0.096 H 248.3°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#0F4876
RGBrgb(15, 72, 118)
HSLhsl(207, 77%, 26%)
HSVhsv(207, 87%, 46%)
CMYKcmyk(87.3%, 39%, 0%, 53.7%)
CIE-LABlab(29.52, 0.44, -31.27)
CIE-LCHlch(29.52, 31.28, 270.81°)
OKLaboklab(39.18% -0.0355 -0.0892)
OKLCHoklch(39.18% 0.096 248.3)
XYZxyz(5.7831, 6.0436, 17.9978)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F4876 #763D0F
analogous
#0F7670 #0F4876 #0F1476
triadic
#0F4876 #760F48 #48760F
tetradic
#0F4876 #700F76 #763D0F #14760F
square
#0F4876 #700F76 #763D0F #14760F
split-complementary
#0F4876 #760F14 #76700F
monochromatic
#03111B #082740 #0F4876 #1669AC #1D8AE2

Accessibility & contrast

On white

9.51
#0F4876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0F4876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F4876
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F4876#FFFFFF#000000##FFFFFF
##0F48761.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B78
Deuteranopia (green-blind)
#224175
Tritanopia (blue-blind)
#005359
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0f4876;
/* rgb */ color: rgb(15, 72, 118);
/* oklch */ color: oklch(39.2% 0.096 248.3);
Tailwind
colors: {
  custom: {
    50: '#627a9e',
    500: '#0f4876',
    950: '#000000',
  },
}
SCSS
$custom: #0f4876;
$custom-light: #627a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f4876",
  "rgb": {
    "r": 15,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 206.796,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.39176,
    "c": 0.09605,
    "h": 248.3
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#0F4876
secondary
#AD6A33
accent
#8A34F4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #0F4876

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

Preview Lab → · Contrast checker → · Palette generator →

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