#0A1945#0A1945

#0A1945 is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.3% C 0.085 H 265.7°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#0A1945
RGBrgb(10, 25, 69)
HSLhsl(225, 75%, 15%)
HSVhsv(225, 86%, 27%)
CMYKcmyk(85.5%, 63.8%, 0%, 72.9%)
CIE-LABlab(10.48, 12.57, -29.50)
CIE-LCHlch(10.48, 32.07, 293.08°)
OKLaboklab(23.29% -0.0064 -0.0851)
OKLCHoklch(23.29% 0.085 265.7)
XYZxyz(1.5466, 1.1893, 5.7771)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1945 #45360A
analogous
#0A3645 #0A1945 #180A45
triadic
#0A1945 #450A19 #19450A
tetradic
#0A1945 #450A36 #45360A #0A4518
square
#0A1945 #450A36 #45360A #0A4518
split-complementary
#0A1945 #45180A #36450A
monochromatic
#040A1B #040A1B #0A1945 #122C7A #1940B0

Accessibility & contrast

On white

16.97
#0A1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0A1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1945
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1945#FFFFFF#000000##FFFFFF
##0A19451.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#001A44
Tritanopia (blue-blind)
#00242C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0a1945;
/* rgb */ color: rgb(10, 25, 69);
/* oklch */ color: oklch(23.3% 0.085 265.7);
Tailwind
colors: {
  custom: {
    50: '#545579',
    500: '#0a1945',
    950: '#000000',
  },
}
SCSS
$custom: #0a1945;
$custom-light: #545579;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1945",
  "rgb": {
    "r": 10,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 224.746,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23289,
    "c": 0.08537,
    "h": 265.7
  },
  "luminance": 0.01189
}

Semantic roles & 50–950 ramp

primary
#0A1945
secondary
#826B29
accent
#C236F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1945

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

Preview Lab → · Contrast checker → · Palette generator →

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