#1A3D98#1A3D98

#1A3D98 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.155 H 264.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#1A3D98
RGBrgb(26, 61, 152)
HSLhsl(223, 71%, 35%)
HSVhsv(223, 83%, 60%)
CMYKcmyk(82.9%, 59.9%, 0%, 40.4%)
CIE-LABlab(28.96, 23.11, -53.22)
CIE-LCHlch(28.96, 58.02, 293.47°)
OKLaboklab(39.61% -0.0152 -0.1538)
OKLCHoklch(39.61% 0.155 264.3)
XYZxyz(7.7602, 5.8232, 30.4147)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D98 #98751A
analogous
#1A7C98 #1A3D98 #361A98
triadic
#1A3D98 #981A3D #3D981A
tetradic
#1A3D98 #981A7C #98751A #1A9836
square
#1A3D98 #981A7C #98751A #1A9836
split-complementary
#1A3D98 #98361A #7C981A
monochromatic
#08132F #112864 #1A3D98 #2352CC #4C75E0

Accessibility & contrast

On white

9.70
#1A3D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A3D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D98
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D98#FFFFFF#000000##FFFFFF
##1A3D981.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3d98;
/* rgb */ color: rgb(26, 61, 152);
/* oklch */ color: oklch(39.6% 0.155 264.3);
Tailwind
colors: {
  custom: {
    50: '#6e72b7',
    500: '#1a3d98',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d98;
$custom-light: #6e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d98",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 223.333,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.1546,
    "h": 264.3
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#1A3D98
secondary
#C2A14B
accent
#BC3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3D98

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

Preview Lab → · Contrast checker → · Palette generator →

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