#0F216A#0F216A

#0F216A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.129 H 266.8°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#0F216A
RGBrgb(15, 33, 106)
HSLhsl(228, 75%, 24%)
HSVhsv(228, 86%, 42%)
CMYKcmyk(85.8%, 68.9%, 0%, 58.4%)
CIE-LABlab(16.65, 23.07, -44.38)
CIE-LCHlch(16.65, 50.02, 297.47°)
OKLaboklab(29.05% -0.0073 -0.1285)
OKLCHoklch(29.05% 0.129 266.8)
XYZxyz(3.3415, 2.2295, 13.8871)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F216A #6A580F
analogous
#0F4E6A #0F216A #2A0F6A
triadic
#0F216A #6A0F21 #216A0F
tetradic
#0F216A #6A0F4E #6A580F #0F6A2A
square
#0F216A #6A0F4E #6A580F #0F6A2A
split-complementary
#0F216A #6A2A0F #4E6A0F
monochromatic
#04081B #071034 #0F216A #1732A0 #1E42D5

Accessibility & contrast

On white

14.52
#0F216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0F216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F216A
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F216A#FFFFFF#000000##FFFFFF
##0F216A1.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0f216a;
/* rgb */ color: rgb(15, 33, 106);
/* oklch */ color: oklch(29.0% 0.129 266.8);
Tailwind
colors: {
  custom: {
    50: '#605c95',
    500: '#0f216a',
    950: '#000000',
  },
}
SCSS
$custom: #0f216a;
$custom-light: #605c95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f216a",
  "rgb": {
    "r": 15,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 228.132,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29045,
    "c": 0.12874,
    "h": 266.8
  },
  "luminance": 0.0223
}

Semantic roles & 50–950 ramp

primary
#0F216A
secondary
#A28C32
accent
#CD36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #0F216A

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

Preview Lab → · Contrast checker → · Palette generator →

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