#0A2245#0A2245

#0A2245 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.6% C 0.072 H 258.2°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#0A2245
RGBrgb(10, 34, 69)
HSLhsl(216, 75%, 15%)
HSVhsv(216, 86%, 27%)
CMYKcmyk(85.5%, 50.7%, 0%, 72.9%)
CIE-LABlab(13.46, 5.57, -24.68)
CIE-LCHlch(13.46, 25.30, 282.72°)
OKLaboklab(25.56% -0.0148 -0.0708)
OKLCHoklch(25.56% 0.072 258.2)
XYZxyz(1.7710, 1.6381, 5.8519)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2245 #452D0A
analogous
#0A3F45 #0A2245 #0F0A45
triadic
#0A2245 #450A22 #22450A
tetradic
#0A2245 #450A3F #452D0A #0A450F
square
#0A2245 #450A3F #452D0A #0A450F
split-complementary
#0A2245 #450F0A #3F450A
monochromatic
#040D1B #040D1B #0A2245 #123C7A #1957B0

Accessibility & contrast

On white

15.82
#0A2245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#0A2245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2245
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2245#FFFFFF#000000##FFFFFF
##0A22451.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102546
Deuteranopia (green-blind)
#042044
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2245;
/* rgb */ color: rgb(10, 34, 69);
/* oklch */ color: oklch(25.6% 0.072 258.2);
Tailwind
colors: {
  custom: {
    50: '#535c79',
    500: '#0a2245',
    950: '#000000',
  },
}
SCSS
$custom: #0a2245;
$custom-light: #535c79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2245",
  "rgb": {
    "r": 10,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 215.593,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25562,
    "c": 0.07229,
    "h": 258.2
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#0A2245
secondary
#825E29
accent
#A536F1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0A2245

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

Preview Lab → · Contrast checker → · Palette generator →

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