#0A1F49#0A1F49

#0A1F49 is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.1% C 0.083 H 262.2°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#0A1F49
RGBrgb(10, 31, 73)
HSLhsl(220, 76%, 16%)
HSVhsv(220, 86%, 29%)
CMYKcmyk(86.3%, 57.5%, 0%, 71.4%)
CIE-LABlab(12.77, 9.70, -28.57)
CIE-LCHlch(12.77, 30.17, 288.75°)
OKLaboklab(25.13% -0.0112 -0.0823)
OKLCHoklch(25.13% 0.083 262.2)
XYZxyz(1.8173, 1.5253, 6.5007)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1F49 #49340A
analogous
#0A3F49 #0A1F49 #150A49
triadic
#0A1F49 #490A1F #1F490A
tetradic
#0A1F49 #490A3F #49340A #0A4915
square
#0A1F49 #490A3F #49340A #0A4915
split-complementary
#0A1F49 #49150A #3F490A
monochromatic
#040B1B #040B1B #0A1F49 #11367F #194DB5

Accessibility & contrast

On white

16.09
#0A1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#0A1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1F49
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1F49#FFFFFF#000000##FFFFFF
##0A1F491.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244B
Deuteranopia (green-blind)
#001E48
Tritanopia (blue-blind)
#002930
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #0a1f49;
/* rgb */ color: rgb(10, 31, 73);
/* oklch */ color: oklch(25.1% 0.083 262.2);
Tailwind
colors: {
  custom: {
    50: '#555a7c',
    500: '#0a1f49',
    950: '#000000',
  },
}
SCSS
$custom: #0a1f49;
$custom-light: #555a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1f49",
  "rgb": {
    "r": 10,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 220,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.08302,
    "h": 262.2
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#0A1F49
secondary
#866729
accent
#B335F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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