#0A224D#0A224D

#0A224D is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.085 H 261.0°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#0A224D
RGBrgb(10, 34, 77)
HSLhsl(219, 77%, 17%)
HSVhsv(219, 87%, 30%)
CMYKcmyk(87%, 55.8%, 0%, 69.8%)
CIE-LABlab(14.08, 9.20, -29.19)
CIE-LCHlch(14.08, 30.61, 287.49°)
OKLaboklab(26.24% -0.0133 -0.084)
OKLCHoklch(26.24% 0.085 261)
XYZxyz(2.0363, 1.7442, 7.2491)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A224D #4D350A
analogous
#0A444D #0A224D #130A4D
triadic
#0A224D #4D0A22 #224D0A
tetradic
#0A224D #4D0A44 #4D350A #0A4D13
square
#0A224D #4D0A44 #4D350A #0A4D13
split-complementary
#0A224D #4D130A #444D0A
monochromatic
#040C1B #040C1B #0A224D #113A83 #1852B9

Accessibility & contrast

On white

15.57
#0A224D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#0A224D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A224D
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A224D#FFFFFF#000000##FFFFFF
##0A224D1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07274F
Deuteranopia (green-blind)
#00214C
Tritanopia (blue-blind)
#002C33
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0a224d;
/* rgb */ color: rgb(10, 34, 77);
/* oklch */ color: oklch(26.2% 0.085 261.0);
Tailwind
colors: {
  custom: {
    50: '#565c7f',
    500: '#0a224d',
    950: '#000000',
  },
}
SCSS
$custom: #0a224d;
$custom-light: #565c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0a224d",
  "rgb": {
    "r": 10,
    "g": 34,
    "b": 77
  },
  "hsl": {
    "h": 218.507,
    "s": 77.011,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2624,
    "c": 0.08508,
    "h": 261
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#0A224D
secondary
#8A6729
accent
#AF34F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0A224D

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

Preview Lab → · Contrast checker → · Palette generator →

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