#1A3F9B#1A3F9B

#1A3F9B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.156 H 264.0°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1A3F9B
RGBrgb(26, 63, 155)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 61%)
CMYKcmyk(83.2%, 59.4%, 0%, 39.2%)
CIE-LABlab(29.76, 22.94, -53.74)
CIE-LCHlch(29.76, 58.43, 293.11°)
OKLaboklab(40.29% -0.0164 -0.1553)
OKLCHoklch(40.29% 0.156 264)
XYZxyz(8.1178, 6.1402, 31.7613)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F9B #9B761A
analogous
#1A7F9B #1A3F9B #361A9B
triadic
#1A3F9B #9B1A3F #3F9B1A
tetradic
#1A3F9B #9B1A7F #9B761A #1A9B36
square
#1A3F9B #9B1A7F #9B761A #1A9B36
split-complementary
#1A3F9B #9B361A #7F9B1A
monochromatic
#081432 #112A67 #1A3F9B #2354CF #4E78E1

Accessibility & contrast

On white

9.42
#1A3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A3F9B
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F9B#FFFFFF#000000##FFFFFF
##1A3F9B1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a3f9b;
/* rgb */ color: rgb(26, 63, 155);
/* oklch */ color: oklch(40.3% 0.156 264.0);
Tailwind
colors: {
  custom: {
    50: '#6e73b9',
    500: '#1a3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f9b;
$custom-light: #6e73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f9b",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 222.791,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40288,
    "c": 0.15621,
    "h": 264
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#1A3F9B
secondary
#C4A24D
accent
#BA3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1A3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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