#1A3A8E#1A3A8E

#1A3A8E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.145 H 264.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#1A3A8E
RGBrgb(26, 58, 142)
HSLhsl(223, 69%, 33%)
HSVhsv(223, 82%, 56%)
CMYKcmyk(81.7%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.29, 21.17, -49.80)
CIE-LCHlch(27.29, 54.12, 293.03°)
OKLaboklab(38.09% -0.0137 -0.1439)
OKLCHoklch(38.09% 0.145 264.5)
XYZxyz(6.8198, 5.1979, 26.2298)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A8E #8E6E1A
analogous
#1A748E #1A3A8E #341A8E
triadic
#1A3A8E #8E1A3A #3A8E1A
tetradic
#1A3A8E #8E1A74 #8E6E1A #1A8E34
square
#1A3A8E #8E1A74 #8E6E1A #1A8E34
split-complementary
#1A3A8E #8E341A #748E1A
monochromatic
#071027 #11255A #1A3A8E #234FC2 #456FDD

Accessibility & contrast

On white

10.30
#1A3A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3A8E
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A8E#FFFFFF#000000##FFFFFF
##1A3A8E1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3a8e;
/* rgb */ color: rgb(26, 58, 142);
/* oklch */ color: oklch(38.1% 0.145 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b6fb0',
    500: '#1a3a8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a8e;
$custom-light: #6b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a8e",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 223.448,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38094,
    "c": 0.14453,
    "h": 264.5
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#1A3A8E
secondary
#BE9D45
accent
#BB3CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1A3A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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