#1A303E#1A303E

#1A303E is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.8% C 0.038 H 237.8°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#1A303E
RGBrgb(26, 48, 62)
HSLhsl(203, 41%, 17%)
HSVhsv(203, 58%, 24%)
CMYKcmyk(58.1%, 22.6%, 0%, 75.7%)
CIE-LABlab(18.72, -3.94, -11.52)
CIE-LCHlch(18.72, 12.18, 251.10°)
OKLaboklab(29.76% -0.0202 -0.0321)
OKLCHoklch(29.76% 0.038 237.8)
XYZxyz(2.3521, 2.6811, 4.9501)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A303E #3E281A
analogous
#1A3E3A #1A303E #1A1E3E
triadic
#1A303E #3E1A30 #303E1A
tetradic
#1A303E #3A1A3E #3E281A #1E3E1A
square
#1A303E #3A1A3E #3E281A #1E3E1A
split-complementary
#1A303E #3E1A1E #3E3A1A
monochromatic
#091116 #091116 #1A303E #2C5169 #3E7394

Accessibility & contrast

On white

13.67
#1A303E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A303E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A303E
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A303E#FFFFFF#000000##FFFFFF
##1A303E1.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303F
Deuteranopia (green-blind)
#252C3E
Tritanopia (blue-blind)
#073435
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a303e;
/* rgb */ color: rgb(26, 48, 62);
/* oklch */ color: oklch(29.8% 0.038 237.8);
Tailwind
colors: {
  custom: {
    50: '#596873',
    500: '#1a303e',
    950: '#000000',
  },
}
SCSS
$custom: #1a303e;
$custom-light: #596873;
$custom-dark: #000000;
JSON
{
  "hex": "#1a303e",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 62
  },
  "hsl": {
    "h": 203.333,
    "s": 40.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2976,
    "c": 0.03788,
    "h": 237.8
  },
  "luminance": 0.02681
}

Semantic roles & 50–950 ramp

primary
#1A303E
secondary
#745440
accent
#8657D1
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#040608
muted
#797A7B

Preview Lab

Preview with #1A303E

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

Preview Lab → · Contrast checker → · Palette generator →

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