#1A334D#1A334D

#1A334D is a dark, muted cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.056 H 250.9°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#1A334D
RGBrgb(26, 51, 77)
HSLhsl(211, 50%, 20%)
HSVhsv(211, 66%, 30%)
CMYKcmyk(66.2%, 33.8%, 0%, 69.8%)
CIE-LABlab(20.53, -0.34, -18.88)
CIE-LCHlch(20.53, 18.89, 268.97°)
OKLaboklab(31.44% -0.0184 -0.0532)
OKLCHoklch(31.44% 0.056 250.9)
XYZxyz(2.9489, 3.1228, 7.4671)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A334D #4D341A
analogous
#1A4D4D #1A334D #1A1A4D
triadic
#1A334D #4D1A33 #334D1A
tetradic
#1A334D #4D1A4D #4D341A #1A4D1A
square
#1A334D #4D1A4D #4D341A #1A4D1A
split-complementary
#1A334D #4D1A1A #4D4D1A
monochromatic
#080F17 #0B151F #1A334D #29517B #3970A9

Accessibility & contrast

On white

12.93
#1A334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A334D
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A334D#FFFFFF#000000##FFFFFF
##1A334D1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28344E
Deuteranopia (green-blind)
#212F4C
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a334d;
/* rgb */ color: rgb(26, 51, 77);
/* oklch */ color: oklch(31.4% 0.056 250.9);
Tailwind
colors: {
  custom: {
    50: '#5c6a7f',
    500: '#1a334d',
    950: '#000000',
  },
}
SCSS
$custom: #1a334d;
$custom-light: #5c6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a334d",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 210.588,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31441,
    "c": 0.05636,
    "h": 250.9
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#1A334D
secondary
#836240
accent
#954FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A334D

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

Preview Lab → · Contrast checker → · Palette generator →

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