#0F205A#0F205A

#0F205A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.2% C 0.107 H 266.6°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#0F205A
RGBrgb(15, 32, 90)
HSLhsl(226, 71%, 21%)
HSVhsv(226, 83%, 35%)
CMYKcmyk(83.3%, 64.4%, 0%, 64.7%)
CIE-LABlab(14.80, 17.07, -36.82)
CIE-LCHlch(14.80, 40.58, 294.88°)
OKLaboklab(27.2% -0.0064 -0.1064)
OKLCHoklch(27.2% 0.107 266.6)
XYZxyz(2.5583, 1.8725, 9.8975)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F205A #5A490F
analogous
#0F455A #0F205A #230F5A
triadic
#0F205A #5A0F20 #205A0F
tetradic
#0F205A #5A0F45 #5A490F #0F5A23
square
#0F205A #5A0F45 #5A490F #0F5A23
split-complementary
#0F205A #5A230F #455A0F
monochromatic
#04091A #060D26 #0F205A #18338E #2045C3

Accessibility & contrast

On white

15.28
#0F205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#0F205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F205A
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F205A#FFFFFF#000000##FFFFFF
##0F205A1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #0f205a;
/* rgb */ color: rgb(15, 32, 90);
/* oklch */ color: oklch(27.2% 0.107 266.6);
Tailwind
colors: {
  custom: {
    50: '#5b5b89',
    500: '#0f205a',
    950: '#000000',
  },
}
SCSS
$custom: #0f205a;
$custom-light: #5b5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f205a",
  "rgb": {
    "r": 15,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 226.4,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.27199,
    "c": 0.10658,
    "h": 266.6
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#0F205A
secondary
#947D31
accent
#C53AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #0F205A

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

Preview Lab → · Contrast checker → · Palette generator →

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