#0F3472#0F3472

#0F3472 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.115 H 260.3°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#0F3472
RGBrgb(15, 52, 114)
HSLhsl(218, 77%, 25%)
HSVhsv(218, 87%, 45%)
CMYKcmyk(86.8%, 54.4%, 0%, 55.3%)
CIE-LABlab(22.90, 12.68, -39.36)
CIE-LCHlch(22.90, 41.35, 287.85°)
OKLaboklab(33.96% -0.0194 -0.1135)
OKLCHoklch(33.96% 0.115 260.3)
XYZxyz(4.4611, 3.7719, 16.4092)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3472 #724D0F
analogous
#0F6572 #0F3472 #1C0F72
triadic
#0F3472 #720F34 #34720F
tetradic
#0F3472 #720F65 #724D0F #0F721C
square
#0F3472 #720F65 #724D0F #0F721C
split-complementary
#0F3472 #721C0F #65720F
monochromatic
#040C1B #081B3C #0F3472 #164DA8 #1D65DE

Accessibility & contrast

On white

11.97
#0F3472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#0F3472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F3472
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3472#FFFFFF#000000##FFFFFF
##0F34721.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083B74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3472;
/* rgb */ color: rgb(15, 52, 114);
/* oklch */ color: oklch(34.0% 0.115 260.3);
Tailwind
colors: {
  custom: {
    50: '#616a9b',
    500: '#0f3472',
    950: '#000000',
  },
}
SCSS
$custom: #0f3472;
$custom-light: #616a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3472",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 114
  },
  "hsl": {
    "h": 217.576,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33957,
    "c": 0.11511,
    "h": 260.3
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#0F3472
secondary
#AA7D33
accent
#AC35F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3472

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

Preview Lab → · Contrast checker → · Palette generator →

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