#0F3966#0F3966

#0F3966 is a dark, moderate cyan. Relative luminance 0.040; OKLCH L 34.2% C 0.091 H 253.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#0F3966
RGBrgb(15, 57, 102)
HSLhsl(211, 74%, 23%)
HSVhsv(211, 85%, 40%)
CMYKcmyk(85.3%, 44.1%, 0%, 60%)
CIE-LABlab(23.63, 3.94, -30.47)
CIE-LCHlch(23.63, 30.72, 277.37°)
OKLaboklab(34.24% -0.0259 -0.0872)
OKLCHoklch(34.24% 0.091 253.4)
XYZxyz(4.0575, 3.9866, 13.1234)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3966 #663C0F
analogous
#0F6466 #0F3966 #100F66
triadic
#0F3966 #660F39 #39660F
tetradic
#0F3966 #660F64 #663C0F #0F6610
square
#0F3966 #660F64 #663C0F #0F6610
split-complementary
#0F3966 #66100F #64660F
monochromatic
#040F1B #071B31 #0F3966 #17579B #1F75D1

Accessibility & contrast

On white

11.68
#0F3966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0F3966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3966
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3966#FFFFFF#000000##FFFFFF
##0F39661.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233C68
Deuteranopia (green-blind)
#133565
Tritanopia (blue-blind)
#00444A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0f3966;
/* rgb */ color: rgb(15, 57, 102);
/* oklch */ color: oklch(34.2% 0.091 253.4);
Tailwind
colors: {
  custom: {
    50: '#5d6e92',
    500: '#0f3966',
    950: '#000000',
  },
}
SCSS
$custom: #0f3966;
$custom-light: #5d6e92;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3966",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 102
  },
  "hsl": {
    "h": 211.034,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34239,
    "c": 0.09098,
    "h": 253.4
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#0F3966
secondary
#9F6A32
accent
#9737F1
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05070D
muted
#797A7E

Preview Lab

Preview with #0F3966

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

Preview Lab → · Contrast checker → · Palette generator →

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