#1A2B7A#1A2B7A

#1A2B7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.136 H 268.4°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1A2B7A
RGBrgb(26, 43, 122)
HSLhsl(229, 65%, 29%)
HSVhsv(229, 79%, 48%)
CMYKcmyk(78.7%, 64.8%, 0%, 52.2%)
CIE-LABlab(21.40, 23.62, -46.89)
CIE-LCHlch(21.40, 52.50, 296.74°)
OKLaboklab(33.16% -0.0038 -0.1355)
OKLCHoklch(33.16% 0.136 268.4)
XYZxyz(4.8015, 3.3520, 18.8025)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B7A #7A691A
analogous
#1A5B7A #1A2B7A #391A7A
triadic
#1A2B7A #7A1A2B #2B7A1A
tetradic
#1A2B7A #7A1A5B #7A691A #1A7A39
square
#1A2B7A #7A1A5B #7A691A #1A7A39
split-complementary
#1A2B7A #7A391A #5B7A1A
monochromatic
#050919 #0F1948 #1A2B7A #253DAC #3955D5

Accessibility & contrast

On white

12.57
#1A2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B7A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B7A#FFFFFF#000000##FFFFFF
##1A2B7A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2b7a;
/* rgb */ color: rgb(26, 43, 122);
/* oklch */ color: oklch(33.2% 0.136 268.4);
Tailwind
colors: {
  custom: {
    50: '#6764a1',
    500: '#1a2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b7a;
$custom-light: #6764a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b7a",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 229.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3316,
    "c": 0.13559,
    "h": 268.4
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#1A2B7A
secondary
#AE9B41
accent
#CA40E8
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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