#1A3E9F#1A3E9F

#1A3E9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.163 H 264.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1A3E9F
RGBrgb(26, 62, 159)
HSLhsl(224, 72%, 36%)
HSVhsv(224, 84%, 62%)
CMYKcmyk(83.6%, 61%, 0%, 37.6%)
CIE-LABlab(29.83, 25.21, -56.06)
CIE-LCHlch(29.83, 61.47, 294.22°)
OKLaboklab(40.44% -0.0156 -0.1622)
OKLCHoklch(40.44% 0.163 264.5)
XYZxyz(8.4044, 6.1670, 33.5416)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E9F #9F7B1A
analogous
#1A819F #1A3E9F #381A9F
triadic
#1A3E9F #9F1A3E #3E9F1A
tetradic
#1A3E9F #9F1A81 #9F7B1A #1A9F38
square
#1A3E9F #9F1A81 #9F7B1A #1A9F38
split-complementary
#1A3E9F #9F381A #819F1A
monochromatic
#091536 #11296A #1A3E9F #2353D4 #5178E3

Accessibility & contrast

On white

9.40
#1A3E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1A3E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E9F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E9F#FFFFFF#000000##FFFFFF
##1A3E9F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a3e9f;
/* rgb */ color: rgb(26, 62, 159);
/* oklch */ color: oklch(40.4% 0.163 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f72bc',
    500: '#1a3e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e9f;
$custom-light: #6f72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e9f",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 223.759,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40443,
    "c": 0.16291,
    "h": 264.5
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#1A3E9F
secondary
#C5A550
accent
#BE39EF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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