#0F3968#0F3968

#0F3968 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.4% C 0.094 H 254.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#0F3968
RGBrgb(15, 57, 104)
HSLhsl(212, 75%, 23%)
HSVhsv(212, 86%, 41%)
CMYKcmyk(85.6%, 45.2%, 0%, 59.2%)
CIE-LABlab(23.76, 4.80, -31.55)
CIE-LCHlch(23.76, 31.91, 278.65°)
OKLaboklab(34.39% -0.0255 -0.0904)
OKLCHoklch(34.39% 0.094 254.3)
XYZxyz(4.1579, 4.0268, 13.6521)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3968 #683E0F
analogous
#0F6568 #0F3968 #110F68
triadic
#0F3968 #680F39 #39680F
tetradic
#0F3968 #680F65 #683E0F #0F6811
square
#0F3968 #680F65 #683E0F #0F6811
split-complementary
#0F3968 #68110F #65680F
monochromatic
#040F1B #071C33 #0F3968 #17569D #1E74D3

Accessibility & contrast

On white

11.63
#0F3968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0F3968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3968
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3968#FFFFFF#000000##FFFFFF
##0F39681.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213D6A
Deuteranopia (green-blind)
#113567
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f3968;
/* rgb */ color: rgb(15, 57, 104);
/* oklch */ color: oklch(34.4% 0.094 254.3);
Tailwind
colors: {
  custom: {
    50: '#5e6e93',
    500: '#0f3968',
    950: '#000000',
  },
}
SCSS
$custom: #0f3968;
$custom-light: #5e6e93;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3968",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 104
  },
  "hsl": {
    "h": 211.685,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.0939,
    "h": 254.3
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#0F3968
secondary
#A16C32
accent
#9936F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3968

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

Preview Lab → · Contrast checker → · Palette generator →

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