#1A203E#1A203E

#1A203E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.5% C 0.057 H 273.2°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#1A203E
RGBrgb(26, 32, 62)
HSLhsl(230, 41%, 17%)
HSVhsv(230, 58%, 24%)
CMYKcmyk(58.1%, 48.4%, 0%, 75.7%)
CIE-LABlab(13.23, 7.56, -20.10)
CIE-LCHlch(13.23, 21.48, 290.62°)
OKLaboklab(25.48% 0.0032 -0.057)
OKLCHoklch(25.48% 0.057 273.2)
XYZxyz(1.8117, 1.6003, 4.7699)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A203E #3E381A
analogous
#1A323E #1A203E #261A3E
triadic
#1A203E #3E1A20 #203E1A
tetradic
#1A203E #3E1A32 #3E381A #1A3E26
square
#1A203E #3E1A32 #3E381A #1A3E26
split-complementary
#1A203E #3E261A #323E1A
monochromatic
#090B16 #090B16 #1A203E #2C3669 #3E4D94

Accessibility & contrast

On white

15.91
#1A203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1A203E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A203E
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A203E#FFFFFF#000000##FFFFFF
##1A203E1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#10213D
Tritanopia (blue-blind)
#0B262C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1a203e;
/* rgb */ color: rgb(26, 32, 62);
/* oklch */ color: oklch(25.5% 0.057 273.2);
Tailwind
colors: {
  custom: {
    50: '#595b73',
    500: '#1a203e',
    950: '#000000',
  },
}
SCSS
$custom: #1a203e;
$custom-light: #595b73;
$custom-dark: #000000;
JSON
{
  "hex": "#1a203e",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 230,
    "s": 40.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2548,
    "c": 0.05709,
    "h": 273.2
  },
  "luminance": 0.016
}

Semantic roles & 50–950 ramp

primary
#1A203E
secondary
#746B40
accent
#BC57D1
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040408
muted
#79797B

Preview Lab

Preview with #1A203E

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

Preview Lab → · Contrast checker → · Palette generator →

#1A203E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva