#1A34B4#1A34B4

#1A34B4 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 40.7% C 0.202 H 266.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#1A34B4
RGBrgb(26, 52, 180)
HSLhsl(230, 75%, 40%)
HSVhsv(230, 86%, 71%)
CMYKcmyk(85.6%, 71.1%, 0%, 29.4%)
CIE-LABlab(29.34, 39.76, -69.48)
CIE-LCHlch(29.34, 80.05, 299.78°)
OKLaboklab(40.68% -0.0117 -0.2014)
OKLCHoklch(40.68% 0.202 266.7)
XYZxyz(9.8893, 5.9697, 43.8022)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A34B4 #B49A1A
analogous
#1A81B4 #1A34B4 #4D1AB4
triadic
#1A34B4 #B41A34 #34B41A
tetradic
#1A34B4 #B41A81 #B49A1A #1AB44D
square
#1A34B4 #B41A81 #B49A1A #1AB44D
split-complementary
#1A34B4 #B44D1A #81B41A
monochromatic
#0B1549 #12257F #1A34B4 #2B49E0 #6077E8

Accessibility & contrast

On white

9.57
#1A34B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A34B4
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A34B4#FFFFFF#000000##FFFFFF
##1A34B41.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#003EB2
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a34b4;
/* rgb */ color: rgb(26, 52, 180);
/* oklch */ color: oklch(40.7% 0.202 266.7);
Tailwind
colors: {
  custom: {
    50: '#766ccc',
    500: '#1a34b4',
    950: '#000000',
  },
}
SCSS
$custom: #1a34b4;
$custom-light: #766ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#1a34b4",
  "rgb": {
    "r": 26,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 229.87,
    "s": 74.757,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.20177,
    "h": 266.7
  },
  "luminance": 0.05971
}

Semantic roles & 50–950 ramp

primary
#1A34B4
secondary
#CCBA5D
accent
#D236F1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #1A34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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