#1A2B8D#1A2B8D

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

Color values

HEX#1A2B8D
RGBrgb(26, 43, 141)
HSLhsl(231, 69%, 33%)
HSVhsv(231, 82%, 55%)
CMYKcmyk(81.6%, 69.5%, 0%, 44.7%)
CIE-LABlab(23.24, 31.02, -55.82)
CIE-LCHlch(23.24, 63.86, 299.06°)
OKLaboklab(35.07% -0.0048 -0.1617)
OKLCHoklch(35.07% 0.162 268.3)
XYZxyz(6.0959, 3.8697, 25.6198)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B8D #8D7C1A
analogous
#1A658D #1A2B8D #421A8D
triadic
#1A2B8D #8D1A2B #2B8D1A
tetradic
#1A2B8D #8D1A65 #8D7C1A #1A8D42
square
#1A2B8D #8D1A65 #8D7C1A #1A8D42
split-complementary
#1A2B8D #8D421A #658D1A
monochromatic
#070B26 #101B59 #1A2B8D #243BC1 #455BDD

Accessibility & contrast

On white

11.84
#1A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B8D
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B8D#FFFFFF#000000##FFFFFF
##1A2B8D1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2b8d;
/* rgb */ color: rgb(26, 43, 141);
/* oklch */ color: oklch(35.1% 0.162 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c64af',
    500: '#1a2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b8d;
$custom-light: #6c64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b8d",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 231.13,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35066,
    "c": 0.16175,
    "h": 268.3
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#1A2B8D
secondary
#BEAC45
accent
#D23CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1A2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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