#0A1243#0A1243

#0A1243 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.092 H 269.5°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#0A1243
RGBrgb(10, 18, 67)
HSLhsl(232, 74%, 15%)
HSVhsv(232, 85%, 26%)
CMYKcmyk(85.1%, 73.1%, 0%, 73.7%)
CIE-LABlab(8.15, 17.13, -31.90)
CIE-LCHlch(8.15, 36.21, 298.23°)
OKLaboklab(21.5% -0.0009 -0.0923)
OKLCHoklch(21.5% 0.092 269.5)
XYZxyz(1.3543, 0.9022, 5.4119)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A1243 #433B0A
analogous
#0A2E43 #0A1243 #1E0A43
triadic
#0A1243 #430A12 #12430A
tetradic
#0A1243 #430A2E #433B0A #0A431E
square
#0A1243 #430A2E #433B0A #0A431E
split-complementary
#0A1243 #431E0A #2E430A
monochromatic
#04071B #04071B #0A1243 #122078 #1A2FAE

Accessibility & contrast

On white

17.79
#0A1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#0A1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A1243
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A1243#FFFFFF#000000##FFFFFF
##0A12431.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B45
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#001F28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #0a1243;
/* rgb */ color: rgb(10, 18, 67);
/* oklch */ color: oklch(21.5% 0.092 269.5);
Tailwind
colors: {
  custom: {
    50: '#544f78',
    500: '#0a1243',
    950: '#000000',
  },
}
SCSS
$custom: #0a1243;
$custom-light: #544f78;
$custom-dark: #000000;
JSON
{
  "hex": "#0a1243",
  "rgb": {
    "r": 10,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 231.579,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21498,
    "c": 0.09226,
    "h": 269.5
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#0A1243
secondary
#807429
accent
#D737F1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030209
muted
#78787B

Preview Lab

Preview with #0A1243

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

Preview Lab → · Contrast checker → · Palette generator →

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