#1A4271#1A4271

#1A4271 is a dark, moderate cyan. Relative luminance 0.053; OKLCH L 37.7% C 0.092 H 254.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#1A4271
RGBrgb(26, 66, 113)
HSLhsl(212, 63%, 27%)
HSVhsv(212, 77%, 44%)
CMYKcmyk(77%, 41.6%, 0%, 55.7%)
CIE-LABlab(27.59, 3.76, -31.17)
CIE-LCHlch(27.59, 31.39, 276.88°)
OKLaboklab(37.66% -0.0248 -0.0889)
OKLCHoklch(37.66% 0.092 254.4)
XYZxyz(5.3537, 5.3077, 16.3619)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4271 #71491A
analogous
#1A6E71 #1A4271 #1E1A71
triadic
#1A4271 #711A42 #42711A
tetradic
#1A4271 #711A6E #71491A #1A711E
square
#1A4271 #711A6E #71491A #1A711E
split-complementary
#1A4271 #711E1A #6E711A
monochromatic
#060F19 #0F253F #1A4271 #255FA3 #357CD0

Accessibility & contrast

On white

10.19
#1A4271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1A4271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4271
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4271#FFFFFF#000000##FFFFFF
##1A42711.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4673
Deuteranopia (green-blind)
#1E3D70
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a4271;
/* rgb */ color: rgb(26, 66, 113);
/* oklch */ color: oklch(37.7% 0.092 254.4);
Tailwind
colors: {
  custom: {
    50: '#64769a',
    500: '#1a4271',
    950: '#000000',
  },
}
SCSS
$custom: #1a4271;
$custom-light: #64769a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4271",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 212.414,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37657,
    "c": 0.09234,
    "h": 254.4
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#1A4271
secondary
#A67741
accent
#9A42E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1A4271

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

Preview Lab → · Contrast checker → · Palette generator →

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