#0D1A45#0D1A45

#0D1A45 is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 23.7% C 0.083 H 267.1°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#0D1A45
RGBrgb(13, 26, 69)
HSLhsl(226, 68%, 16%)
HSVhsv(226, 81%, 27%)
CMYKcmyk(81.2%, 62.3%, 0%, 72.9%)
CIE-LABlab(10.95, 12.23, -28.73)
CIE-LCHlch(10.95, 31.22, 293.06°)
OKLaboklab(23.69% -0.0042 -0.0828)
OKLCHoklch(23.69% 0.083 267.1)
XYZxyz(1.6092, 1.2539, 5.7863)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D1A45 #45380D
analogous
#0D3645 #0D1A45 #1C0D45
triadic
#0D1A45 #450D1A #1A450D
tetradic
#0D1A45 #450D36 #45380D #0D451C
square
#0D1A45 #450D36 #45380D #0D451C
split-complementary
#0D1A45 #451C0D #36450D
monochromatic
#050A1A #050A1A #0D1A45 #172D78 #2041AC

Accessibility & contrast

On white

16.79
#0D1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#0D1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D1A45
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D1A45#FFFFFF#000000##FFFFFF
##0D1A451.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002046
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#00252C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #0d1a45;
/* rgb */ color: rgb(13, 26, 69);
/* oklch */ color: oklch(23.7% 0.083 267.1);
Tailwind
colors: {
  custom: {
    50: '#555679',
    500: '#0d1a45',
    950: '#000000',
  },
}
SCSS
$custom: #0d1a45;
$custom-light: #555679;
$custom-dark: #000000;
JSON
{
  "hex": "#0d1a45",
  "rgb": {
    "r": 13,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 226.071,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.23685,
    "c": 0.08289,
    "h": 267.1
  },
  "luminance": 0.01254
}

Semantic roles & 50–950 ramp

primary
#0D1A45
secondary
#806D2D
accent
#C33DEB
background
#F5F4F7
surface
#E9E8ED
border
#C5C4C8
text
#030309
muted
#78787B

Preview Lab

Preview with #0D1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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