#1A314F#1A314F

#1A314F is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.0% C 0.062 H 255.7°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1A314F
RGBrgb(26, 49, 79)
HSLhsl(214, 50%, 21%)
HSVhsv(214, 67%, 31%)
CMYKcmyk(67.1%, 38%, 0%, 69%)
CIE-LABlab(19.97, 1.84, -21.11)
CIE-LCHlch(19.97, 21.19, 274.99°)
OKLaboklab(31.04% -0.0152 -0.0598)
OKLCHoklch(31.04% 0.062 255.7)
XYZxyz(2.9351, 2.9805, 7.8162)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A314F #4F381A
analogous
#1A4B4F #1A314F #1D1A4F
triadic
#1A314F #4F1A31 #314F1A
tetradic
#1A314F #4F1A4B #4F381A #1A4F1D
square
#1A314F #4F1A4B #4F381A #1A4F1D
split-complementary
#1A314F #4F1D1A #4B4F1A
monochromatic
#080E17 #0B1421 #1A314F #294E7D #386AAB

Accessibility & contrast

On white

13.16
#1A314F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A314F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A314F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A314F#FFFFFF#000000##FFFFFF
##1A314F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243350
Deuteranopia (green-blind)
#1D2E4E
Tritanopia (blue-blind)
#00383C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a314f;
/* rgb */ color: rgb(26, 49, 79);
/* oklch */ color: oklch(31.0% 0.062 255.7);
Tailwind
colors: {
  custom: {
    50: '#5c6880',
    500: '#1a314f',
    950: '#000000',
  },
}
SCSS
$custom: #1a314f;
$custom-light: #5c6880;
$custom-dark: #000000;
JSON
{
  "hex": "#1a314f",
  "rgb": {
    "r": 26,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 213.962,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31037,
    "c": 0.06167,
    "h": 255.7
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#1A314F
secondary
#856740
accent
#9D4EDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A314F

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

Preview Lab → · Contrast checker → · Palette generator →

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