#0F3372#0F3372

#0F3372 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.7% C 0.116 H 260.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#0F3372
RGBrgb(15, 51, 114)
HSLhsl(218, 77%, 25%)
HSVhsv(218, 87%, 45%)
CMYKcmyk(86.8%, 55.3%, 0%, 55.3%)
CIE-LABlab(22.60, 13.40, -39.85)
CIE-LCHlch(22.60, 42.05, 288.58°)
OKLaboklab(33.72% -0.0187 -0.1149)
OKLCHoklch(33.72% 0.116 260.8)
XYZxyz(4.4170, 3.6836, 16.3945)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3372 #724E0F
analogous
#0F6472 #0F3372 #1D0F72
triadic
#0F3372 #720F33 #33720F
tetradic
#0F3372 #720F64 #724E0F #0F721D
square
#0F3372 #720F64 #724E0F #0F721D
split-complementary
#0F3372 #721D0F #64720F
monochromatic
#040C1B #081B3C #0F3372 #164BA8 #1D63DE

Accessibility & contrast

On white

12.09
#0F3372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3372
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3372#FFFFFF#000000##FFFFFF
##0F33721.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3372;
/* rgb */ color: rgb(15, 51, 114);
/* oklch */ color: oklch(33.7% 0.116 260.8);
Tailwind
colors: {
  custom: {
    50: '#616a9b',
    500: '#0f3372',
    950: '#000000',
  },
}
SCSS
$custom: #0f3372;
$custom-light: #616a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3372",
  "rgb": {
    "r": 15,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 218.182,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33724,
    "c": 0.11645,
    "h": 260.8
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#0F3372
secondary
#AA7F33
accent
#AE35F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3372

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

Preview Lab → · Contrast checker → · Palette generator →

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