#0A1C48#0A1C48

#0A1C48 is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.3% C 0.086 H 264.2°. Best body text is #FFFFFF at 16.50:1 contrast (WCAG AA passes).

Color values

HEX#0A1C48
RGBrgb(10, 28, 72)
HSLhsl(223, 76%, 16%)
HSVhsv(223, 86%, 28%)
CMYKcmyk(86.1%, 61.1%, 0%, 71.8%)
CIE-LABlab(11.71, 11.58, -29.60)
CIE-LCHlch(11.71, 31.78, 291.37°)
OKLaboklab(24.3% -0.0087 -0.0853)
OKLCHoklch(24.3% 0.086 264.2)
XYZxyz(1.7097, 1.3627, 6.3026)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1C48 #48360A
analogous
#0A3B48 #0A1C48 #170A48
triadic
#0A1C48 #480A1C #1C480A
tetradic
#0A1C48 #480A3B #48360A #0A4817
square
#0A1C48 #480A3B #48360A #0A4817
split-complementary
#0A1C48 #48170A #3B480A
monochromatic
#040A1B #040A1B #0A1C48 #11317E #1946B3

Accessibility & contrast

On white

16.50
#0A1C48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#0A1C48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1C48
16.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1C48#FFFFFF#000000##FFFFFF
##0A1C481.0016.501.2716.50
#FFFFFF16.501.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#001C47
Tritanopia (blue-blind)
#00272E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #0a1c48;
/* rgb */ color: rgb(10, 28, 72);
/* oklch */ color: oklch(24.3% 0.086 264.2);
Tailwind
colors: {
  custom: {
    50: '#55577b',
    500: '#0a1c48',
    950: '#000000',
  },
}
SCSS
$custom: #0a1c48;
$custom-light: #55577b;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1c48",
  "rgb": {
    "r": 10,
    "g": 28,
    "b": 72
  },
  "hsl": {
    "h": 222.581,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.243,
    "c": 0.08579,
    "h": 264.2
  },
  "luminance": 0.01363
}

Semantic roles & 50–950 ramp

primary
#0A1C48
secondary
#856A29
accent
#BB36F2
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030309
muted
#78787B

Preview Lab

Preview with #0A1C48

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

Preview Lab → · Contrast checker → · Palette generator →

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