#1A2B8E#1A2B8E

#1A2B8E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.163 H 268.3°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#1A2B8E
RGBrgb(26, 43, 142)
HSLhsl(231, 69%, 33%)
HSVhsv(231, 82%, 56%)
CMYKcmyk(81.7%, 69.7%, 0%, 44.3%)
CIE-LABlab(23.34, 31.40, -56.28)
CIE-LCHlch(23.34, 64.45, 299.16°)
OKLaboklab(35.17% -0.0049 -0.163)
OKLCHoklch(35.17% 0.163 268.3)
XYZxyz(6.1707, 3.8996, 26.0134)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B8E #8E7D1A
analogous
#1A658E #1A2B8E #431A8E
triadic
#1A2B8E #8E1A2B #2B8E1A
tetradic
#1A2B8E #8E1A65 #8E7D1A #1A8E43
square
#1A2B8E #8E1A65 #8E7D1A #1A8E43
split-complementary
#1A2B8E #8E431A #658E1A
monochromatic
#070C27 #111B5A #1A2B8E #233BC2 #455CDD

Accessibility & contrast

On white

11.80
#1A2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2B8E
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B8E#FFFFFF#000000##FFFFFF
##1A2B8E1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2b8e;
/* rgb */ color: rgb(26, 43, 142);
/* oklch */ color: oklch(35.2% 0.163 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d64b0',
    500: '#1a2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b8e;
$custom-light: #6d64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b8e",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 231.207,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.3517,
    "c": 0.16307,
    "h": 268.3
  },
  "luminance": 0.039
}

Semantic roles & 50–950 ramp

primary
#1A2B8E
secondary
#BEAD45
accent
#D23CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1A2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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