#0F3471#0F3471

#0F3471 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.114 H 260.1°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#0F3471
RGBrgb(15, 52, 113)
HSLhsl(217, 77%, 25%)
HSVhsv(217, 87%, 44%)
CMYKcmyk(86.7%, 54%, 0%, 55.7%)
CIE-LABlab(22.82, 12.25, -38.84)
CIE-LCHlch(22.82, 40.73, 287.50°)
OKLaboklab(33.87% -0.0196 -0.1119)
OKLCHoklch(33.87% 0.114 260.1)
XYZxyz(4.4045, 3.7493, 16.1111)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3471 #714C0F
analogous
#0F6571 #0F3471 #1B0F71
triadic
#0F3471 #710F34 #34710F
tetradic
#0F3471 #710F65 #714C0F #0F711B
square
#0F3471 #710F65 #714C0F #0F711B
split-complementary
#0F3471 #711B0F #65710F
monochromatic
#040C1B #081B3B #0F3471 #164DA7 #1D66DD

Accessibility & contrast

On white

12.00
#0F3471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3471
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3471#FFFFFF#000000##FFFFFF
##0F34711.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3B73
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0f3471;
/* rgb */ color: rgb(15, 52, 113);
/* oklch */ color: oklch(33.9% 0.114 260.1);
Tailwind
colors: {
  custom: {
    50: '#616a9a',
    500: '#0f3471',
    950: '#000000',
  },
}
SCSS
$custom: #0f3471;
$custom-light: #616a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3471",
  "rgb": {
    "r": 15,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 217.347,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.11365,
    "h": 260.1
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#0F3471
secondary
#A97C33
accent
#AB35F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3471

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

Preview Lab → · Contrast checker → · Palette generator →

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