#0F3572#0F3572

#0F3572 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.114 H 259.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#0F3572
RGBrgb(15, 53, 114)
HSLhsl(217, 77%, 25%)
HSVhsv(217, 87%, 45%)
CMYKcmyk(86.8%, 53.5%, 0%, 55.3%)
CIE-LABlab(23.21, 11.96, -38.86)
CIE-LCHlch(23.21, 40.66, 287.10°)
OKLaboklab(34.19% -0.0202 -0.112)
OKLCHoklch(34.19% 0.114 259.8)
XYZxyz(4.5063, 3.8621, 16.4243)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F3572 #724C0F
analogous
#0F6672 #0F3572 #1B0F72
triadic
#0F3572 #720F35 #35720F
tetradic
#0F3572 #720F66 #724C0F #0F721B
square
#0F3572 #720F66 #724C0F #0F721B
split-complementary
#0F3572 #721B0F #66720F
monochromatic
#040D1B #081C3C #0F3572 #164EA8 #1D67DE

Accessibility & contrast

On white

11.85
#0F3572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F3572
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F3572#FFFFFF#000000##FFFFFF
##0F35721.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3C74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0f3572;
/* rgb */ color: rgb(15, 53, 114);
/* oklch */ color: oklch(34.2% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#616b9b',
    500: '#0f3572',
    950: '#000000',
  },
}
SCSS
$custom: #0f3572;
$custom-light: #616b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f3572",
  "rgb": {
    "r": 15,
    "g": 53,
    "b": 114
  },
  "hsl": {
    "h": 216.97,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.34192,
    "c": 0.11379,
    "h": 259.8
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#0F3572
secondary
#AA7C33
accent
#AA35F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0F3572

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

Preview Lab → · Contrast checker → · Palette generator →

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