#0F226A#0F226A

#0F226A is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.2% C 0.127 H 266.5°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#0F226A
RGBrgb(15, 34, 106)
HSLhsl(227, 75%, 24%)
HSVhsv(227, 86%, 42%)
CMYKcmyk(85.8%, 67.9%, 0%, 58.4%)
CIE-LABlab(16.92, 22.35, -43.94)
CIE-LCHlch(16.92, 49.30, 296.97°)
OKLaboklab(29.24% -0.0078 -0.1272)
OKLCHoklch(29.24% 0.127 266.5)
XYZxyz(3.3696, 2.2858, 13.8965)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F226A #6A570F
analogous
#0F4F6A #0F226A #290F6A
triadic
#0F226A #6A0F22 #226A0F
tetradic
#0F226A #6A0F4F #6A570F #0F6A29
square
#0F226A #6A0F4F #6A570F #0F6A29
split-complementary
#0F226A #6A290F #4F6A0F
monochromatic
#04091B #071134 #0F226A #1733A0 #1E44D5

Accessibility & contrast

On white

14.41
#0F226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0F226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F226A
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F226A#FFFFFF#000000##FFFFFF
##0F226A1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f226a;
/* rgb */ color: rgb(15, 34, 106);
/* oklch */ color: oklch(29.2% 0.127 266.5);
Tailwind
colors: {
  custom: {
    50: '#605c95',
    500: '#0f226a',
    950: '#000000',
  },
}
SCSS
$custom: #0f226a;
$custom-light: #605c95;
$custom-dark: #000000;
JSON
{
  "hex": "#0f226a",
  "rgb": {
    "r": 15,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 227.473,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29245,
    "c": 0.12746,
    "h": 266.5
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#0F226A
secondary
#A28B32
accent
#CB36F2
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #0F226A

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

Preview Lab → · Contrast checker → · Palette generator →

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