#1A314C#1A314C

#1A314C is a dark, muted cyan. Relative luminance 0.029; OKLCH L 30.8% C 0.057 H 253.5°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1A314C
RGBrgb(26, 49, 76)
HSLhsl(212, 49%, 20%)
HSVhsv(212, 66%, 30%)
CMYKcmyk(65.8%, 35.5%, 0%, 70.2%)
CIE-LABlab(19.79, 0.66, -19.37)
CIE-LCHlch(19.79, 19.38, 271.96°)
OKLaboklab(30.85% -0.0162 -0.0547)
OKLCHoklch(30.85% 0.057 253.5)
XYZxyz(2.8284, 2.9378, 7.2541)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A314C #4C351A
analogous
#1A4A4C #1A314C #1C1A4C
triadic
#1A314C #4C1A31 #314C1A
tetradic
#1A314C #4C1A4A #4C351A #1A4C1C
square
#1A314C #4C1A4A #4C351A #1A4C1C
split-complementary
#1A314C #4C1C1A #4A4C1A
monochromatic
#080F17 #0A141E #1A314C #2A4E7A #396CA7

Accessibility & contrast

On white

13.23
#1A314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A314C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A314C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A314C#FFFFFF#000000##FFFFFF
##1A314C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26334D
Deuteranopia (green-blind)
#1F2E4B
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a314c;
/* rgb */ color: rgb(26, 49, 76);
/* oklch */ color: oklch(30.8% 0.057 253.5);
Tailwind
colors: {
  custom: {
    50: '#5c687e',
    500: '#1a314c',
    950: '#000000',
  },
}
SCSS
$custom: #1a314c;
$custom-light: #5c687e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a314c",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 212.4,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.05702,
    "h": 253.5
  },
  "luminance": 0.02938
}

Semantic roles & 50–950 ramp

primary
#1A314C
secondary
#826440
accent
#994FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A314C

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

Preview Lab → · Contrast checker → · Palette generator →

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