#1A427C#1A427C

#1A427C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.108 H 258.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#1A427C
RGBrgb(26, 66, 124)
HSLhsl(216, 65%, 29%)
HSVhsv(216, 79%, 49%)
CMYKcmyk(79%, 46.8%, 0%, 51.4%)
CIE-LABlab(28.30, 8.25, -36.97)
CIE-LCHlch(28.30, 37.88, 282.58°)
OKLaboklab(38.44% -0.0223 -0.106)
OKLCHoklch(38.44% 0.108 258.1)
XYZxyz(6.0110, 5.5706, 19.8233)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A427C #7C541A
analogous
#1A737C #1A427C #231A7C
triadic
#1A427C #7C1A42 #427C1A
tetradic
#1A427C #7C1A73 #7C541A #1A7C23
square
#1A427C #7C1A73 #7C541A #1A7C23
split-complementary
#1A427C #7C231A #737C1A
monochromatic
#050D19 #0F2749 #1A427C #255DAF #3B7AD6

Accessibility & contrast

On white

9.93
#1A427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1A427C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A427C
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A427C#FFFFFF#000000##FFFFFF
##1A427C1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a427c;
/* rgb */ color: rgb(26, 66, 124);
/* oklch */ color: oklch(38.4% 0.108 258.1);
Tailwind
colors: {
  custom: {
    50: '#6675a2',
    500: '#1a427c',
    950: '#000000',
  },
}
SCSS
$custom: #1a427c;
$custom-light: #6675a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a427c",
  "rgb": {
    "r": 26,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 215.51,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.38435,
    "c": 0.10831,
    "h": 258.1
  },
  "luminance": 0.05571
}

Semantic roles & 50–950 ramp

primary
#1A427C
secondary
#B08342
accent
#A340E8
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A427C

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

Preview Lab → · Contrast checker → · Palette generator →

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