#1A334F#1A334F

#1A334F is a dark, muted cyan. Relative luminance 0.032; OKLCH L 31.6% C 0.059 H 252.6°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#1A334F
RGBrgb(26, 51, 79)
HSLhsl(212, 50%, 21%)
HSVhsv(212, 67%, 31%)
CMYKcmyk(67.1%, 35.4%, 0%, 69%)
CIE-LABlab(20.64, 0.44, -20.05)
CIE-LCHlch(20.64, 20.05, 271.26°)
OKLaboklab(31.57% -0.0178 -0.0566)
OKLCHoklch(31.57% 0.059 252.6)
XYZxyz(3.0206, 3.1515, 7.8447)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A334F #4F361A
analogous
#1A4D4F #1A334F #1B1A4F
triadic
#1A334F #4F1A33 #334F1A
tetradic
#1A334F #4F1A4D #4F361A #1A4F1B
square
#1A334F #4F1A4D #4F361A #1A4F1B
split-complementary
#1A334F #4F1B1A #4D4F1A
monochromatic
#080F17 #0B1521 #1A334F #29517D #386EAB

Accessibility & contrast

On white

12.88
#1A334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1A334F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A334F
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A334F#FFFFFF#000000##FFFFFF
##1A334F1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273550
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#00393D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a334f;
/* rgb */ color: rgb(26, 51, 79);
/* oklch */ color: oklch(31.6% 0.059 252.6);
Tailwind
colors: {
  custom: {
    50: '#5c6a80',
    500: '#1a334f',
    950: '#000000',
  },
}
SCSS
$custom: #1a334f;
$custom-light: #5c6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a334f",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 211.698,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31565,
    "c": 0.05936,
    "h": 252.6
  },
  "luminance": 0.03152
}

Semantic roles & 50–950 ramp

primary
#1A334F
secondary
#856440
accent
#984EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A334F

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

Preview Lab → · Contrast checker → · Palette generator →

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