#1A2B89#1A2B89

#1A2B89 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.156 H 268.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1A2B89
RGBrgb(26, 43, 137)
HSLhsl(231, 68%, 32%)
HSVhsv(231, 81%, 54%)
CMYKcmyk(81%, 68.6%, 0%, 46.3%)
CIE-LABlab(22.84, 29.49, -53.99)
CIE-LCHlch(22.84, 61.52, 298.65°)
OKLaboklab(34.65% -0.0045 -0.1563)
OKLCHoklch(34.65% 0.156 268.3)
XYZxyz(5.8037, 3.7528, 24.0806)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B89 #89781A
analogous
#1A6389 #1A2B89 #411A89
triadic
#1A2B89 #891A2B #2B891A
tetradic
#1A2B89 #891A63 #89781A #1A8941
square
#1A2B89 #891A63 #89781A #1A8941
split-complementary
#1A2B89 #89411A #63891A
monochromatic
#060B22 #101B56 #1A2B89 #243BBC #425ADB

Accessibility & contrast

On white

11.99
#1A2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B89
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B89#FFFFFF#000000##FFFFFF
##1A2B891.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2b89;
/* rgb */ color: rgb(26, 43, 137);
/* oklch */ color: oklch(34.7% 0.156 268.3);
Tailwind
colors: {
  custom: {
    50: '#6b64ac',
    500: '#1a2b89',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b89;
$custom-light: #6b64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b89",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 230.811,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34654,
    "c": 0.15639,
    "h": 268.3
  },
  "luminance": 0.03754
}

Semantic roles & 50–950 ramp

primary
#1A2B89
secondary
#BCAA43
accent
#D03DEB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1A2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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