#1A3F9A#1A3F9A

#1A3F9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.155 H 263.9°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#1A3F9A
RGBrgb(26, 63, 154)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 60%)
CMYKcmyk(83.1%, 59.1%, 0%, 39.6%)
CIE-LABlab(29.68, 22.54, -53.27)
CIE-LCHlch(29.68, 57.84, 292.93°)
OKLaboklab(40.2% -0.0164 -0.154)
OKLCHoklch(40.2% 0.155 263.9)
XYZxyz(8.0342, 6.1067, 31.3209)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F9A #9A751A
analogous
#1A7F9A #1A3F9A #351A9A
triadic
#1A3F9A #9A1A3F #3F9A1A
tetradic
#1A3F9A #9A1A7F #9A751A #1A9A35
square
#1A3F9A #9A1A7F #9A751A #1A9A35
split-complementary
#1A3F9A #9A351A #7F9A1A
monochromatic
#081431 #112A66 #1A3F9A #2354CE #4D78E1

Accessibility & contrast

On white

9.45
#1A3F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A3F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F9A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F9A#FFFFFF#000000##FFFFFF
##1A3F9A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a3f9a;
/* rgb */ color: rgb(26, 63, 154);
/* oklch */ color: oklch(40.2% 0.155 263.9);
Tailwind
colors: {
  custom: {
    50: '#6e73b9',
    500: '#1a3f9a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f9a;
$custom-light: #6e73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f9a",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 222.656,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40199,
    "c": 0.15483,
    "h": 263.9
  },
  "luminance": 0.06108
}

Semantic roles & 50–950 ramp

primary
#1A3F9A
secondary
#C3A14D
accent
#BA3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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