#0A2145#0A2145

#0A2145 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.3% C 0.074 H 259.2°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#0A2145
RGBrgb(10, 33, 69)
HSLhsl(217, 75%, 15%)
HSVhsv(217, 86%, 27%)
CMYKcmyk(85.5%, 52.2%, 0%, 72.9%)
CIE-LABlab(13.12, 6.34, -25.23)
CIE-LCHlch(13.12, 26.02, 284.10°)
OKLaboklab(25.3% -0.0138 -0.0724)
OKLCHoklch(25.3% 0.074 259.2)
XYZxyz(1.7428, 1.5817, 5.8425)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A2145 #452E0A
analogous
#0A3E45 #0A2145 #100A45
triadic
#0A2145 #450A21 #21450A
tetradic
#0A2145 #450A3E #452E0A #0A4510
square
#0A2145 #450A3E #452E0A #0A4510
split-complementary
#0A2145 #45100A #3E450A
monochromatic
#040D1B #040D1B #0A2145 #123B7A #1954B0

Accessibility & contrast

On white

15.95
#0A2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#0A2145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A2145
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A2145#FFFFFF#000000##FFFFFF
##0A21451.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2546
Deuteranopia (green-blind)
#021F44
Tritanopia (blue-blind)
#002A2F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #0a2145;
/* rgb */ color: rgb(10, 33, 69);
/* oklch */ color: oklch(25.3% 0.074 259.2);
Tailwind
colors: {
  custom: {
    50: '#545b79',
    500: '#0a2145',
    950: '#000000',
  },
}
SCSS
$custom: #0a2145;
$custom-light: #545b79;
$custom-dark: #000000;
JSON
{
  "hex": "#0a2145",
  "rgb": {
    "r": 10,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 216.61,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25298,
    "c": 0.0737,
    "h": 259.2
  },
  "luminance": 0.01582
}

Semantic roles & 50–950 ramp

primary
#0A2145
secondary
#825F29
accent
#A836F1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #0A2145

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

Preview Lab → · Contrast checker → · Palette generator →

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