#1A314D#1A314D

#1A314D is a dark, muted cyan. Relative luminance 0.030; OKLCH L 30.9% C 0.059 H 254.3°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1A314D
RGBrgb(26, 49, 77)
HSLhsl(213, 50%, 20%)
HSVhsv(213, 66%, 30%)
CMYKcmyk(66.2%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.85, 1.05, -19.95)
CIE-LCHlch(19.85, 19.98, 273.02°)
OKLaboklab(30.91% -0.0159 -0.0564)
OKLCHoklch(30.91% 0.059 254.3)
XYZxyz(2.8634, 2.9518, 7.4386)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A314D #4D361A
analogous
#1A4B4D #1A314D #1C1A4D
triadic
#1A314D #4D1A31 #314D1A
tetradic
#1A314D #4D1A4B #4D361A #1A4D1C
square
#1A314D #4D1A4B #4D361A #1A4D1C
split-complementary
#1A314D #4D1C1A #4B4D1A
monochromatic
#080F17 #0B141F #1A314D #294E7B #396BA9

Accessibility & contrast

On white

13.20
#1A314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A314D
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A314D#FFFFFF#000000##FFFFFF
##1A314D1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25334E
Deuteranopia (green-blind)
#1E2E4C
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a314d;
/* rgb */ color: rgb(26, 49, 77);
/* oklch */ color: oklch(30.9% 0.059 254.3);
Tailwind
colors: {
  custom: {
    50: '#5c687f',
    500: '#1a314d',
    950: '#000000',
  },
}
SCSS
$custom: #1a314d;
$custom-light: #5c687f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a314d",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 212.941,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.30909,
    "c": 0.05856,
    "h": 254.3
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#1A314D
secondary
#836540
accent
#9B4FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A314D

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

Preview Lab → · Contrast checker → · Palette generator →

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