#0F3976#0F3976

#0F3976 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.5% C 0.114 H 258.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#0F3976
RGBrgb(15, 57, 118)
HSLhsl(216, 77%, 26%)
HSVhsv(216, 87%, 46%)
CMYKcmyk(87.3%, 51.7%, 0%, 53.7%)
CIE-LABlab(24.75, 10.81, -38.92)
CIE-LCHlch(24.75, 40.39, 285.52°)
OKLaboklab(35.47% -0.0227 -0.1121)
OKLCHoklch(35.47% 0.114 258.6)
XYZxyz(4.9289, 4.3352, 17.7130)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3976 #764C0F
analogous
#0F6C76 #0F3976 #180F76
triadic
#0F3976 #760F39 #39760F
tetradic
#0F3976 #760F6C #764C0F #0F7618
square
#0F3976 #760F6C #764C0F #0F7618
split-complementary
#0F3976 #76180F #6C760F
monochromatic
#030D1B #081F40 #0F3976 #1653AC #1D6EE2

Accessibility & contrast

On white

11.25
#0F3976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0F3976 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3976
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3976#FFFFFF#000000##FFFFFF
##0F39761.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134078
Deuteranopia (green-blind)
#003675
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0f3976;
/* rgb */ color: rgb(15, 57, 118);
/* oklch */ color: oklch(35.5% 0.114 258.6);
Tailwind
colors: {
  custom: {
    50: '#626e9e',
    500: '#0f3976',
    950: '#000000',
  },
}
SCSS
$custom: #0f3976;
$custom-light: #626e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3976",
  "rgb": {
    "r": 15,
    "g": 57,
    "b": 118
  },
  "hsl": {
    "h": 215.534,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35468,
    "c": 0.11433,
    "h": 258.6
  },
  "luminance": 0.04336
}

Semantic roles & 50–950 ramp

primary
#0F3976
secondary
#AD7C33
accent
#A634F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #0F3976

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

Preview Lab → · Contrast checker → · Palette generator →

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