#1A3252#1A3252

#1A3252 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.065 H 256.2°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#1A3252
RGBrgb(26, 50, 82)
HSLhsl(214, 52%, 21%)
HSVhsv(214, 68%, 32%)
CMYKcmyk(68.3%, 39%, 0%, 67.8%)
CIE-LABlab(20.48, 2.33, -22.31)
CIE-LCHlch(20.48, 22.43, 275.96°)
OKLaboklab(31.5% -0.0156 -0.0632)
OKLCHoklch(31.5% 0.065 256.2)
XYZxyz(3.0890, 3.1097, 8.4185)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3252 #523A1A
analogous
#1A4E52 #1A3252 #1E1A52
triadic
#1A3252 #521A32 #32521A
tetradic
#1A3252 #521A4E #523A1A #1A521E
square
#1A3252 #521A4E #523A1A #1A521E
split-complementary
#1A3252 #521E1A #4E521A
monochromatic
#070E17 #0B1624 #1A3252 #294E80 #376BAF

Accessibility & contrast

On white

12.95
#1A3252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3252
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3252#FFFFFF#000000##FFFFFF
##1A32521.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243453
Deuteranopia (green-blind)
#1D2F51
Tritanopia (blue-blind)
#00393E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a3252;
/* rgb */ color: rgb(26, 50, 82);
/* oklch */ color: oklch(31.5% 0.065 256.2);
Tailwind
colors: {
  custom: {
    50: '#5d6983',
    500: '#1a3252',
    950: '#000000',
  },
}
SCSS
$custom: #1a3252;
$custom-light: #5d6983;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3252",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 82
  },
  "hsl": {
    "h": 214.286,
    "s": 51.852,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31495,
    "c": 0.06513,
    "h": 256.2
  },
  "luminance": 0.0311
}

Semantic roles & 50–950 ramp

primary
#1A3252
secondary
#886940
accent
#9E4CDB
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1A3252

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

Preview Lab → · Contrast checker → · Palette generator →

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