#0F3176#0F3176

#0F3176 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.6% C 0.125 H 262.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#0F3176
RGBrgb(15, 49, 118)
HSLhsl(220, 77%, 26%)
HSVhsv(220, 87%, 46%)
CMYKcmyk(87.3%, 58.5%, 0%, 53.7%)
CIE-LABlab(22.32, 16.56, -42.86)
CIE-LCHlch(22.32, 45.94, 291.12°)
OKLaboklab(33.62% -0.0168 -0.1238)
OKLCHoklch(33.62% 0.125 262.3)
XYZxyz(4.5642, 3.6056, 17.5914)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3176 #76540F
analogous
#0F6476 #0F3176 #200F76
triadic
#0F3176 #760F31 #31760F
tetradic
#0F3176 #760F64 #76540F #0F7620
square
#0F3176 #760F64 #76540F #0F7620
split-complementary
#0F3176 #76200F #64760F
monochromatic
#030B1B #081A40 #0F3176 #1648AC #1D5EE2

Accessibility & contrast

On white

12.20
#0F3176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#0F3176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3176
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3176#FFFFFF#000000##FFFFFF
##0F31761.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0f3176;
/* rgb */ color: rgb(15, 49, 118);
/* oklch */ color: oklch(33.6% 0.125 262.3);
Tailwind
colors: {
  custom: {
    50: '#62689e',
    500: '#0f3176',
    950: '#000000',
  },
}
SCSS
$custom: #0f3176;
$custom-light: #62689e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3176",
  "rgb": {
    "r": 15,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 220.194,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33619,
    "c": 0.12495,
    "h": 262.3
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#0F3176
secondary
#AD8533
accent
#B534F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3176

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

Preview Lab → · Contrast checker → · Palette generator →

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