#1A3E8F#1A3E8F

#1A3E8F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.141 H 263.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#1A3E8F
RGBrgb(26, 62, 143)
HSLhsl(222, 69%, 33%)
HSVhsv(222, 82%, 56%)
CMYKcmyk(81.8%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.50, 18.79, -48.45)
CIE-LCHlch(28.50, 51.96, 291.20°)
OKLaboklab(39.03% -0.0164 -0.1398)
OKLCHoklch(39.03% 0.141 263.3)
XYZxyz(7.1048, 5.6472, 26.6968)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E8F #8F6B1A
analogous
#1A798F #1A3E8F #301A8F
triadic
#1A3E8F #8F1A3E #3E8F1A
tetradic
#1A3E8F #8F1A79 #8F6B1A #1A8F30
square
#1A3E8F #8F1A79 #8F6B1A #1A8F30
split-complementary
#1A3E8F #8F301A #798F1A
monochromatic
#071127 #11285B #1A3E8F #2354C3 #4675DD

Accessibility & contrast

On white

9.86
#1A3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1A3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E8F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E8F#FFFFFF#000000##FFFFFF
##1A3E8F1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3e8f;
/* rgb */ color: rgb(26, 62, 143);
/* oklch */ color: oklch(39.0% 0.141 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b72b0',
    500: '#1a3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e8f;
$custom-light: #6b72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e8f",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 221.538,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39033,
    "c": 0.14078,
    "h": 263.3
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#1A3E8F
secondary
#BF9A46
accent
#B63CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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