#0F215D#0F215D

#0F215D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.7% C 0.110 H 266.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#0F215D
RGBrgb(15, 33, 93)
HSLhsl(226, 72%, 21%)
HSVhsv(226, 84%, 36%)
CMYKcmyk(83.9%, 64.5%, 0%, 63.5%)
CIE-LABlab(15.38, 17.61, -37.88)
CIE-LCHlch(15.38, 41.78, 294.93°)
OKLaboklab(27.71% -0.0071 -0.1095)
OKLCHoklch(27.71% 0.11 266.3)
XYZxyz(2.7159, 1.9793, 10.5927)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F215D #5D4B0F
analogous
#0F485D #0F215D #240F5D
triadic
#0F215D #5D0F21 #215D0F
tetradic
#0F215D #5D0F48 #5D4B0F #0F5D24
square
#0F215D #5D0F48 #5D4B0F #0F5D24
split-complementary
#0F215D #5D240F #485D0F
monochromatic
#04091A #060E28 #0F215D #173492 #2046C6

Accessibility & contrast

On white

15.04
#0F215D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F215D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F215D
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F215D#FFFFFF#000000##FFFFFF
##0F215D1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f215d;
/* rgb */ color: rgb(15, 33, 93);
/* oklch */ color: oklch(27.7% 0.110 266.3);
Tailwind
colors: {
  custom: {
    50: '#5c5b8b',
    500: '#0f215d',
    950: '#000000',
  },
}
SCSS
$custom: #0f215d;
$custom-light: #5c5b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f215d",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 93
  },
  "hsl": {
    "h": 226.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27714,
    "c": 0.10973,
    "h": 266.3
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#0F215D
secondary
#967F31
accent
#C539EF
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #0F215D

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

Preview Lab → · Contrast checker → · Palette generator →

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