#0F3476#0F3476

#0F3476 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.3% C 0.121 H 261.0°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#0F3476
RGBrgb(15, 52, 118)
HSLhsl(218, 77%, 26%)
HSVhsv(218, 87%, 46%)
CMYKcmyk(87.3%, 55.9%, 0%, 53.7%)
CIE-LABlab(23.22, 14.39, -41.40)
CIE-LCHlch(23.22, 43.83, 289.17°)
OKLaboklab(34.3% -0.0189 -0.1195)
OKLCHoklch(34.3% 0.121 261)
XYZxyz(4.6938, 3.8650, 17.6347)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3476 #76510F
analogous
#0F6776 #0F3476 #1E0F76
triadic
#0F3476 #760F34 #34760F
tetradic
#0F3476 #760F67 #76510F #0F761E
square
#0F3476 #760F67 #76510F #0F761E
split-complementary
#0F3476 #761E0F #67760F
monochromatic
#030C1B #081C40 #0F3476 #164CAC #1D64E2

Accessibility & contrast

On white

11.84
#0F3476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0F3476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3476
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3476#FFFFFF#000000##FFFFFF
##0F34761.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f3476;
/* rgb */ color: rgb(15, 52, 118);
/* oklch */ color: oklch(34.3% 0.121 261.0);
Tailwind
colors: {
  custom: {
    50: '#626a9e',
    500: '#0f3476',
    950: '#000000',
  },
}
SCSS
$custom: #0f3476;
$custom-light: #626a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3476",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 118
  },
  "hsl": {
    "h": 218.447,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.34299,
    "c": 0.12095,
    "h": 261
  },
  "luminance": 0.03866
}

Semantic roles & 50–950 ramp

primary
#0F3476
secondary
#AD8233
accent
#AF34F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3476

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

Preview Lab → · Contrast checker → · Palette generator →

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