#1A2B7D#1A2B7D

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

Color values

HEX#1A2B7D
RGBrgb(26, 43, 125)
HSLhsl(230, 66%, 30%)
HSVhsv(230, 79%, 49%)
CMYKcmyk(79.2%, 65.6%, 0%, 51%)
CIE-LABlab(21.68, 24.81, -48.34)
CIE-LCHlch(21.68, 54.33, 297.17°)
OKLaboklab(33.45% -0.0039 -0.1398)
OKLCHoklch(33.45% 0.14 268.4)
XYZxyz(4.9903, 3.4275, 19.7966)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B7D #7D6C1A
analogous
#1A5D7D #1A2B7D #3B1A7D
triadic
#1A2B7D #7D1A2B #2B7D1A
tetradic
#1A2B7D #7D1A5D #7D6C1A #1A7D3B
square
#1A2B7D #7D1A5D #7D6C1A #1A7D3B
split-complementary
#1A2B7D #7D3B1A #5D7D1A
monochromatic
#050919 #0F1A4A #1A2B7D #253CB0 #3B56D6

Accessibility & contrast

On white

12.46
#1A2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B7D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B7D#FFFFFF#000000##FFFFFF
##1A2B7D1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2b7d;
/* rgb */ color: rgb(26, 43, 125);
/* oklch */ color: oklch(33.5% 0.140 268.4);
Tailwind
colors: {
  custom: {
    50: '#6864a3',
    500: '#1a2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b7d;
$custom-light: #6864a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b7d",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 229.697,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33452,
    "c": 0.13984,
    "h": 268.4
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#1A2B7D
secondary
#B19E42
accent
#CB3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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