#0F215A#0F215A

#0F215A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.4% C 0.105 H 266.1°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#0F215A
RGBrgb(15, 33, 90)
HSLhsl(226, 71%, 21%)
HSVhsv(226, 83%, 35%)
CMYKcmyk(83.3%, 63.3%, 0%, 64.7%)
CIE-LABlab(15.10, 16.32, -36.33)
CIE-LCHlch(15.10, 39.83, 294.19°)
OKLaboklab(27.42% -0.0072 -0.1049)
OKLCHoklch(27.42% 0.105 266.1)
XYZxyz(2.5857, 1.9272, 9.9066)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F215A #5A480F
analogous
#0F465A #0F215A #220F5A
triadic
#0F215A #5A0F21 #215A0F
tetradic
#0F215A #5A0F46 #5A480F #0F5A22
square
#0F215A #5A0F46 #5A480F #0F5A22
split-complementary
#0F215A #5A220F #465A0F
monochromatic
#040A1A #060E26 #0F215A #18348E #2047C3

Accessibility & contrast

On white

15.16
#0F215A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0F215A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F215A
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F215A#FFFFFF#000000##FFFFFF
##0F215A1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f215a;
/* rgb */ color: rgb(15, 33, 90);
/* oklch */ color: oklch(27.4% 0.105 266.1);
Tailwind
colors: {
  custom: {
    50: '#5b5b89',
    500: '#0f215a',
    950: '#000000',
  },
}
SCSS
$custom: #0f215a;
$custom-light: #5b5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#0f215a",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 225.6,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2742,
    "c": 0.10519,
    "h": 266.1
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#0F215A
secondary
#947C31
accent
#C33AEE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #0F215A

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

Preview Lab → · Contrast checker → · Palette generator →

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