#0F3376#0F3376

#0F3376 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.1% C 0.122 H 261.4°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#0F3376
RGBrgb(15, 51, 118)
HSLhsl(219, 77%, 26%)
HSVhsv(219, 87%, 46%)
CMYKcmyk(87.3%, 56.8%, 0%, 53.7%)
CIE-LABlab(22.92, 15.11, -41.89)
CIE-LCHlch(22.92, 44.53, 289.84°)
OKLaboklab(34.07% -0.0182 -0.1209)
OKLCHoklch(34.07% 0.122 261.4)
XYZxyz(4.6497, 3.7766, 17.6199)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3376 #76520F
analogous
#0F6676 #0F3376 #1E0F76
triadic
#0F3376 #760F33 #33760F
tetradic
#0F3376 #760F66 #76520F #0F761E
square
#0F3376 #760F66 #76520F #0F761E
split-complementary
#0F3376 #761E0F #66760F
monochromatic
#030C1B #081C40 #0F3376 #164AAC #1D62E2

Accessibility & contrast

On white

11.96
#0F3376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0F3376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3376
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3376#FFFFFF#000000##FFFFFF
##0F33761.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3376;
/* rgb */ color: rgb(15, 51, 118);
/* oklch */ color: oklch(34.1% 0.122 261.4);
Tailwind
colors: {
  custom: {
    50: '#626a9e',
    500: '#0f3376',
    950: '#000000',
  },
}
SCSS
$custom: #0f3376;
$custom-light: #626a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3376",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 219.029,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3407,
    "c": 0.12228,
    "h": 261.4
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#0F3376
secondary
#AD8333
accent
#B134F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3376

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

Preview Lab → · Contrast checker → · Palette generator →

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