#1A2E89#1A2E89

#1A2E89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.153 H 267.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1A2E89
RGBrgb(26, 46, 137)
HSLhsl(229, 68%, 32%)
HSVhsv(229, 81%, 54%)
CMYKcmyk(81%, 66.4%, 0%, 46.3%)
CIE-LABlab(23.60, 27.46, -52.73)
CIE-LCHlch(23.60, 59.45, 297.51°)
OKLaboklab(35.22% -0.0062 -0.1526)
OKLCHoklch(35.22% 0.153 267.7)
XYZxyz(5.9168, 3.9791, 24.1183)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E89 #89751A
analogous
#1A6689 #1A2E89 #3E1A89
triadic
#1A2E89 #891A2E #2E891A
tetradic
#1A2E89 #891A66 #89751A #1A893E
square
#1A2E89 #891A66 #89751A #1A893E
split-complementary
#1A2E89 #893E1A #66891A
monochromatic
#060B22 #101D56 #1A2E89 #243FBC #425EDB

Accessibility & contrast

On white

11.69
#1A2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E89
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E89#FFFFFF#000000##FFFFFF
##1A2E891.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2e89;
/* rgb */ color: rgb(26, 46, 137);
/* oklch */ color: oklch(35.2% 0.153 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b66ac',
    500: '#1a2e89',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e89;
$custom-light: #6b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e89",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 229.189,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35215,
    "c": 0.15275,
    "h": 267.7
  },
  "luminance": 0.0398
}

Semantic roles & 50–950 ramp

primary
#1A2E89
secondary
#BCA643
accent
#CC3DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1A2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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