#0F3571#0F3571

#0F3571 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.112 H 259.6°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#0F3571
RGBrgb(15, 53, 113)
HSLhsl(217, 77%, 25%)
HSVhsv(217, 87%, 44%)
CMYKcmyk(86.7%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.13, 11.53, -38.34)
CIE-LCHlch(23.13, 40.04, 286.73°)
OKLaboklab(34.11% -0.0203 -0.1105)
OKLCHoklch(34.11% 0.112 259.6)
XYZxyz(4.4497, 3.8395, 16.1262)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3571 #714B0F
analogous
#0F6671 #0F3571 #1A0F71
triadic
#0F3571 #710F35 #35710F
tetradic
#0F3571 #710F66 #714B0F #0F711A
square
#0F3571 #710F66 #714B0F #0F711A
split-complementary
#0F3571 #711A0F #66710F
monochromatic
#040D1B #081C3B #0F3571 #164EA7 #1D68DD

Accessibility & contrast

On white

11.88
#0F3571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3571
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3571#FFFFFF#000000##FFFFFF
##0F35711.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3C73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00444D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3571;
/* rgb */ color: rgb(15, 53, 113);
/* oklch */ color: oklch(34.1% 0.112 259.6);
Tailwind
colors: {
  custom: {
    50: '#616b9a',
    500: '#0f3571',
    950: '#000000',
  },
}
SCSS
$custom: #0f3571;
$custom-light: #616b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3571",
  "rgb": {
    "r": 15,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 216.735,
    "s": 76.563,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34109,
    "c": 0.11232,
    "h": 259.6
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#0F3571
secondary
#A97B33
accent
#A935F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3571

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

Preview Lab → · Contrast checker → · Palette generator →

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