#1A2D7B#1A2D7B

#1A2D7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.134 H 267.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1A2D7B
RGBrgb(26, 45, 123)
HSLhsl(228, 65%, 29%)
HSVhsv(228, 79%, 48%)
CMYKcmyk(78.9%, 63.4%, 0%, 51.8%)
CIE-LABlab(22.04, 22.62, -46.48)
CIE-LCHlch(22.04, 51.69, 295.95°)
OKLaboklab(33.66% -0.0052 -0.1343)
OKLCHoklch(33.66% 0.134 267.8)
XYZxyz(4.9383, 3.5259, 19.1554)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D7B #7B681A
analogous
#1A5E7B #1A2D7B #371A7B
triadic
#1A2D7B #7B1A2D #2D7B1A
tetradic
#1A2D7B #7B1A5E #7B681A #1A7B37
square
#1A2D7B #7B1A5E #7B681A #1A7B37
split-complementary
#1A2D7B #7B371A #5E7B1A
monochromatic
#050919 #0F1B48 #1A2D7B #253FAE #3A58D5

Accessibility & contrast

On white

12.32
#1A2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D7B
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D7B#FFFFFF#000000##FFFFFF
##1A2D7B1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2d7b;
/* rgb */ color: rgb(26, 45, 123);
/* oklch */ color: oklch(33.7% 0.134 267.8);
Tailwind
colors: {
  custom: {
    50: '#6765a2',
    500: '#1a2d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d7b;
$custom-light: #6765a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d7b",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 228.247,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.13443,
    "h": 267.8
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#1A2D7B
secondary
#AF9A42
accent
#C740E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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