#1A2B9F#1A2B9F

#1A2B9F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.185 H 268.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#1A2B9F
RGBrgb(26, 43, 159)
HSLhsl(232, 72%, 36%)
HSVhsv(232, 84%, 62%)
CMYKcmyk(83.6%, 73%, 0%, 37.6%)
CIE-LABlab(25.11, 37.71, -63.82)
CIE-LCHlch(25.11, 74.13, 300.58°)
OKLaboklab(36.98% -0.0066 -0.185)
OKLCHoklch(36.98% 0.185 268)
XYZxyz(7.5457, 4.4497, 33.2553)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B9F #9F8E1A
analogous
#1A6E9F #1A2B9F #4C1A9F
triadic
#1A2B9F #9F1A2B #2B9F1A
tetradic
#1A2B9F #9F1A6E #9F8E1A #1A9F4C
square
#1A2B9F #9F1A6E #9F8E1A #1A9F4C
split-complementary
#1A2B9F #9F4C1A #6E9F1A
monochromatic
#090F36 #111D6A #1A2B9F #2339D4 #5163E3

Accessibility & contrast

On white

11.11
#1A2B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1A2B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B9F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B9F#FFFFFF#000000##FFFFFF
##1A2B9F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a2b9f;
/* rgb */ color: rgb(26, 43, 159);
/* oklch */ color: oklch(37.0% 0.185 268.0);
Tailwind
colors: {
  custom: {
    50: '#7165bd',
    500: '#1a2b9f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b9f;
$custom-light: #7165bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b9f",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 232.331,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.18508,
    "h": 268
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#1A2B9F
secondary
#C5B650
accent
#D739EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1A2B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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