#1A3E98#1A3E98

#1A3E98 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.153 H 264.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#1A3E98
RGBrgb(26, 62, 152)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 60%)
CMYKcmyk(82.9%, 59.2%, 0%, 40.4%)
CIE-LABlab(29.24, 22.42, -52.77)
CIE-LCHlch(29.24, 57.34, 293.02°)
OKLaboklab(39.82% -0.0159 -0.1525)
OKLCHoklch(39.82% 0.153 264.1)
XYZxyz(7.8141, 5.9309, 30.4326)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E98 #98741A
analogous
#1A7D98 #1A3E98 #351A98
triadic
#1A3E98 #981A3E #3E981A
tetradic
#1A3E98 #981A7D #98741A #1A9835
square
#1A3E98 #981A7D #98741A #1A9835
split-complementary
#1A3E98 #98351A #7D981A
monochromatic
#08132F #112964 #1A3E98 #2353CC #4C76E0

Accessibility & contrast

On white

9.60
#1A3E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1A3E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E98
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E98#FFFFFF#000000##FFFFFF
##1A3E981.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3e98;
/* rgb */ color: rgb(26, 62, 152);
/* oklch */ color: oklch(39.8% 0.153 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e72b7',
    500: '#1a3e98',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e98;
$custom-light: #6e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e98",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 222.857,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39815,
    "c": 0.15334,
    "h": 264.1
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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