#0A224E#0A224E

#0A224E is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.087 H 261.3°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#0A224E
RGBrgb(10, 34, 78)
HSLhsl(219, 77%, 17%)
HSVhsv(219, 87%, 31%)
CMYKcmyk(87.2%, 56.4%, 0%, 69.4%)
CIE-LABlab(14.16, 9.65, -29.74)
CIE-LCHlch(14.16, 31.27, 287.98°)
OKLaboklab(26.33% -0.0132 -0.0857)
OKLCHoklch(26.33% 0.087 261.3)
XYZxyz(2.0719, 1.7584, 7.4365)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A224E #4E360A
analogous
#0A444E #0A224E #140A4E
triadic
#0A224E #4E0A22 #224E0A
tetradic
#0A224E #4E0A44 #4E360A #0A4E14
square
#0A224E #4E0A44 #4E360A #0A4E14
split-complementary
#0A224E #4E140A #444E0A
monochromatic
#030C1B #030C1B #0A224E #113A84 #1851BA

Accessibility & contrast

On white

15.53
#0A224E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0A224E
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A224E#FFFFFF#000000##FFFFFF
##0A224E1.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#062750
Deuteranopia (green-blind)
#00214D
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0a224e;
/* rgb */ color: rgb(10, 34, 78);
/* oklch */ color: oklch(26.3% 0.087 261.3);
Tailwind
colors: {
  custom: {
    50: '#565c80',
    500: '#0a224e',
    950: '#000000',
  },
}
SCSS
$custom: #0a224e;
$custom-light: #565c80;
$custom-dark: #000000;
JSON
{
  "hex": "#0a224e",
  "rgb": {
    "r": 10,
    "g": 34,
    "b": 78
  },
  "hsl": {
    "h": 218.824,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26328,
    "c": 0.08667,
    "h": 261.3
  },
  "luminance": 0.01759
}

Semantic roles & 50–950 ramp

primary
#0A224E
secondary
#8B6829
accent
#B034F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0A224E

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

Preview Lab → · Contrast checker → · Palette generator →

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