#0F3776#0F3776

#0F3776 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.117 H 259.6°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#0F3776
RGBrgb(15, 55, 118)
HSLhsl(217, 77%, 26%)
HSVhsv(217, 87%, 46%)
CMYKcmyk(87.3%, 53.4%, 0%, 53.7%)
CIE-LABlab(24.13, 12.24, -39.92)
CIE-LCHlch(24.13, 41.75, 287.04°)
OKLaboklab(34.99% -0.0211 -0.115)
OKLCHoklch(34.99% 0.117 259.6)
XYZxyz(4.8320, 4.1413, 17.6807)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3776 #764E0F
analogous
#0F6A76 #0F3776 #1A0F76
triadic
#0F3776 #760F37 #37760F
tetradic
#0F3776 #760F6A #764E0F #0F761A
square
#0F3776 #760F6A #764E0F #0F761A
split-complementary
#0F3776 #761A0F #6A760F
monochromatic
#030D1B #081E40 #0F3776 #1650AC #1D6AE2

Accessibility & contrast

On white

11.49
#0F3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#0F3776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3776
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3776#FFFFFF#000000##FFFFFF
##0F37761.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3E78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#004651
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0f3776;
/* rgb */ color: rgb(15, 55, 118);
/* oklch */ color: oklch(35.0% 0.117 259.6);
Tailwind
colors: {
  custom: {
    50: '#626d9e',
    500: '#0f3776',
    950: '#000000',
  },
}
SCSS
$custom: #0f3776;
$custom-light: #626d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3776",
  "rgb": {
    "r": 15,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 216.699,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34995,
    "c": 0.11697,
    "h": 259.6
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#0F3776
secondary
#AD7E33
accent
#A934F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3776

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

Preview Lab → · Contrast checker → · Palette generator →

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