#0A1B47#0A1B47

#0A1B47 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.0% C 0.086 H 264.7°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#0A1B47
RGBrgb(10, 27, 71)
HSLhsl(223, 75%, 16%)
HSVhsv(223, 86%, 28%)
CMYKcmyk(85.9%, 62%, 0%, 72.2%)
CIE-LABlab(11.30, 11.91, -29.57)
CIE-LCHlch(11.30, 31.87, 291.94°)
OKLaboklab(23.96% -0.0079 -0.0853)
OKLCHoklch(23.96% 0.086 264.7)
XYZxyz(1.6540, 1.3031, 6.1244)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1B47 #47360A
analogous
#0A3947 #0A1B47 #170A47
triadic
#0A1B47 #470A1B #1B470A
tetradic
#0A1B47 #470A39 #47360A #0A4717
square
#0A1B47 #470A39 #47360A #0A4717
split-complementary
#0A1B47 #47170A #39470A
monochromatic
#040A1B #040A1B #0A1B47 #122F7D #1944B2

Accessibility & contrast

On white

16.66
#0A1B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#0A1B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1B47
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1B47#FFFFFF#000000##FFFFFF
##0A1B471.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002149
Deuteranopia (green-blind)
#001B46
Tritanopia (blue-blind)
#00262D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #0a1b47;
/* rgb */ color: rgb(10, 27, 71);
/* oklch */ color: oklch(24.0% 0.086 264.7);
Tailwind
colors: {
  custom: {
    50: '#55567b',
    500: '#0a1b47',
    950: '#000000',
  },
}
SCSS
$custom: #0a1b47;
$custom-light: #55567b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1b47",
  "rgb": {
    "r": 10,
    "g": 27,
    "b": 71
  },
  "hsl": {
    "h": 223.279,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23963,
    "c": 0.08565,
    "h": 264.7
  },
  "luminance": 0.01303
}

Semantic roles & 50–950 ramp

primary
#0A1B47
secondary
#846B29
accent
#BE36F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1B47

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

Preview Lab → · Contrast checker → · Palette generator →

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