#0F3866#0F3866

#0F3866 is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 34.0% C 0.092 H 254.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#0F3866
RGBrgb(15, 56, 102)
HSLhsl(212, 74%, 23%)
HSVhsv(212, 85%, 40%)
CMYKcmyk(85.3%, 45.1%, 0%, 60%)
CIE-LABlab(23.30, 4.65, -30.99)
CIE-LCHlch(23.30, 31.34, 278.52°)
OKLaboklab(33.99% -0.025 -0.0888)
OKLCHoklch(33.99% 0.092 254.3)
XYZxyz(4.0086, 3.8887, 13.1071)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3866 #663D0F
analogous
#0F6366 #0F3866 #110F66
triadic
#0F3866 #660F38 #38660F
tetradic
#0F3866 #660F63 #663D0F #0F6611
square
#0F3866 #660F63 #663D0F #0F6611
split-complementary
#0F3866 #66110F #63660F
monochromatic
#040F1B #071B31 #0F3866 #17559B #1F73D1

Accessibility & contrast

On white

11.81
#0F3866 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0F3866 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3866
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3866#FFFFFF#000000##FFFFFF
##0F38661.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213C68
Deuteranopia (green-blind)
#113465
Tritanopia (blue-blind)
#00434A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3866;
/* rgb */ color: rgb(15, 56, 102);
/* oklch */ color: oklch(34.0% 0.092 254.3);
Tailwind
colors: {
  custom: {
    50: '#5d6e92',
    500: '#0f3866',
    950: '#000000',
  },
}
SCSS
$custom: #0f3866;
$custom-light: #5d6e92;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3866",
  "rgb": {
    "r": 15,
    "g": 56,
    "b": 102
  },
  "hsl": {
    "h": 211.724,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33985,
    "c": 0.09222,
    "h": 254.3
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#0F3866
secondary
#9F6C32
accent
#9937F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3866

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

Preview Lab → · Contrast checker → · Palette generator →

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