#1A3A89#1A3A89

#1A3A89 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.7% C 0.137 H 264.1°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#1A3A89
RGBrgb(26, 58, 137)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 54%)
CMYKcmyk(81%, 57.7%, 0%, 46.3%)
CIE-LABlab(26.88, 19.15, -47.38)
CIE-LCHlch(26.88, 51.10, 292.00°)
OKLaboklab(37.66% -0.014 -0.1368)
OKLCHoklch(37.66% 0.137 264.1)
XYZxyz(6.4528, 5.0511, 24.2969)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A89 #89691A
analogous
#1A7289 #1A3A89 #321A89
triadic
#1A3A89 #891A3A #3A891A
tetradic
#1A3A89 #891A72 #89691A #1A8932
square
#1A3A89 #891A72 #89691A #1A8932
split-complementary
#1A3A89 #89321A #72891A
monochromatic
#060E22 #102456 #1A3A89 #2450BC #426EDB

Accessibility & contrast

On white

10.45
#1A3A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A3A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A89
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A89#FFFFFF#000000##FFFFFF
##1A3A891.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3a89;
/* rgb */ color: rgb(26, 58, 137);
/* oklch */ color: oklch(37.7% 0.137 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a6fac',
    500: '#1a3a89',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a89;
$custom-light: #6a6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a89",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 222.703,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37656,
    "c": 0.13748,
    "h": 264.1
  },
  "luminance": 0.05052
}

Semantic roles & 50–950 ramp

primary
#1A3A89
secondary
#BC9943
accent
#B93DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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