#1A407E#1A407E

#1A407E is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.114 H 259.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1A407E
RGBrgb(26, 64, 126)
HSLhsl(217, 66%, 30%)
HSVhsv(217, 79%, 49%)
CMYKcmyk(79.4%, 49.2%, 0%, 50.6%)
CIE-LABlab(27.82, 10.45, -38.99)
CIE-LCHlch(27.82, 40.37, 285.01°)
OKLaboklab(38.11% -0.0202 -0.112)
OKLCHoklch(38.11% 0.114 259.8)
XYZxyz(6.0239, 5.3921, 20.4579)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A407E #7E581A
analogous
#1A727E #1A407E #261A7E
triadic
#1A407E #7E1A40 #407E1A
tetradic
#1A407E #7E1A72 #7E581A #1A7E26
square
#1A407E #7E1A72 #7E581A #1A7E26
split-complementary
#1A407E #7E261A #727E1A
monochromatic
#050D19 #10264B #1A407E #245AB1 #3C77D7

Accessibility & contrast

On white

10.10
#1A407E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1A407E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A407E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A407E#FFFFFF#000000##FFFFFF
##1A407E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#013D7D
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a407e;
/* rgb */ color: rgb(26, 64, 126);
/* oklch */ color: oklch(38.1% 0.114 259.8);
Tailwind
colors: {
  custom: {
    50: '#6774a4',
    500: '#1a407e',
    950: '#000000',
  },
}
SCSS
$custom: #1a407e;
$custom-light: #6774a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a407e",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 217.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.11377,
    "h": 259.8
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#1A407E
secondary
#B28742
accent
#A83FE9
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1A407E

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

Preview Lab → · Contrast checker → · Palette generator →

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