#0F3276#0F3276

#0F3276 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.8% C 0.124 H 261.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#0F3276
RGBrgb(15, 50, 118)
HSLhsl(220, 77%, 26%)
HSVhsv(220, 87%, 46%)
CMYKcmyk(87.3%, 57.6%, 0%, 53.7%)
CIE-LABlab(22.62, 15.83, -42.37)
CIE-LCHlch(22.62, 45.23, 290.49°)
OKLaboklab(33.84% -0.0175 -0.1224)
OKLCHoklch(33.84% 0.124 261.9)
XYZxyz(4.6064, 3.6902, 17.6055)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3276 #76530F
analogous
#0F6576 #0F3276 #1F0F76
triadic
#0F3276 #760F32 #32760F
tetradic
#0F3276 #760F65 #76530F #0F761F
square
#0F3276 #760F65 #76530F #0F761F
split-complementary
#0F3276 #761F0F #65760F
monochromatic
#030C1B #081B40 #0F3276 #1649AC #1D60E2

Accessibility & contrast

On white

12.08
#0F3276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0F3276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3276
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3276#FFFFFF#000000##FFFFFF
##0F32761.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3276;
/* rgb */ color: rgb(15, 50, 118);
/* oklch */ color: oklch(33.8% 0.124 261.9);
Tailwind
colors: {
  custom: {
    50: '#62699e',
    500: '#0f3276',
    950: '#000000',
  },
}
SCSS
$custom: #0f3276;
$custom-light: #62699e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3276",
  "rgb": {
    "r": 15,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 219.612,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33844,
    "c": 0.12362,
    "h": 261.9
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#0F3276
secondary
#AD8433
accent
#B334F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3276

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

Preview Lab → · Contrast checker → · Palette generator →

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