#1A2D89#1A2D89

#1A2D89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.154 H 267.9°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2D89
RGBrgb(26, 45, 137)
HSLhsl(230, 68%, 32%)
HSVhsv(230, 81%, 54%)
CMYKcmyk(81%, 67.2%, 0%, 46.3%)
CIE-LABlab(23.34, 28.14, -53.15)
CIE-LCHlch(23.34, 60.14, 297.90°)
OKLaboklab(35.03% -0.0056 -0.1539)
OKLCHoklch(35.03% 0.154 267.9)
XYZxyz(5.8782, 3.9019, 24.1054)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D89 #89761A
analogous
#1A6589 #1A2D89 #3F1A89
triadic
#1A2D89 #891A2D #2D891A
tetradic
#1A2D89 #891A65 #89761A #1A893F
square
#1A2D89 #891A65 #89761A #1A893F
split-complementary
#1A2D89 #893F1A #65891A
monochromatic
#060B22 #101C56 #1A2D89 #243EBC #425CDB

Accessibility & contrast

On white

11.79
#1A2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1A2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D89
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D89#FFFFFF#000000##FFFFFF
##1A2D891.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2d89;
/* rgb */ color: rgb(26, 45, 137);
/* oklch */ color: oklch(35.0% 0.154 267.9);
Tailwind
colors: {
  custom: {
    50: '#6b66ac',
    500: '#1a2d89',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d89;
$custom-light: #6b66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d89",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 229.73,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35025,
    "c": 0.15397,
    "h": 267.9
  },
  "luminance": 0.03903
}

Semantic roles & 50–950 ramp

primary
#1A2D89
secondary
#BCA743
accent
#CD3DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1A2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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