#1A4172#1A4172

#1A4172 is a dark, moderate cyan. Relative luminance 0.052; OKLCH L 37.5% C 0.095 H 255.6°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1A4172
RGBrgb(26, 65, 114)
HSLhsl(213, 63%, 27%)
HSVhsv(213, 77%, 45%)
CMYKcmyk(77.2%, 43%, 0%, 55.3%)
CIE-LABlab(27.34, 4.85, -32.21)
CIE-LCHlch(27.34, 32.57, 278.56°)
OKLaboklab(37.48% -0.0236 -0.092)
OKLCHoklch(37.48% 0.095 255.6)
XYZxyz(5.3524, 5.2145, 16.6407)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4172 #724B1A
analogous
#1A6D72 #1A4172 #1F1A72
triadic
#1A4172 #721A41 #41721A
tetradic
#1A4172 #721A6D #724B1A #1A721F
square
#1A4172 #721A6D #724B1A #1A721F
split-complementary
#1A4172 #721F1A #6D721A
monochromatic
#060E19 #0F2540 #1A4172 #255DA4 #357AD1

Accessibility & contrast

On white

10.28
#1A4172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1A4172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4172
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4172#FFFFFF#000000##FFFFFF
##1A41721.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#1B3D71
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1a4172;
/* rgb */ color: rgb(26, 65, 114);
/* oklch */ color: oklch(37.5% 0.095 255.6);
Tailwind
colors: {
  custom: {
    50: '#64759b',
    500: '#1a4172',
    950: '#000000',
  },
}
SCSS
$custom: #1a4172;
$custom-light: #64759b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4172",
  "rgb": {
    "r": 26,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 213.409,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37477,
    "c": 0.09499,
    "h": 255.6
  },
  "luminance": 0.05215
}

Semantic roles & 50–950 ramp

primary
#1A4172
secondary
#A77A41
accent
#9D42E6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #1A4172

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

Preview Lab → · Contrast checker → · Palette generator →

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