#1A2A7B#1A2A7B

#1A2A7B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.138 H 268.7°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1A2A7B
RGBrgb(26, 42, 123)
HSLhsl(230, 65%, 29%)
HSVhsv(230, 79%, 48%)
CMYKcmyk(78.9%, 65.9%, 0%, 51.8%)
CIE-LABlab(21.23, 24.71, -47.81)
CIE-LCHlch(21.23, 53.82, 297.33°)
OKLaboklab(33.06% -0.0032 -0.1383)
OKLCHoklch(33.06% 0.138 268.7)
XYZxyz(4.8279, 3.3051, 19.1185)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A7B #7B6B1A
analogous
#1A5B7B #1A2A7B #3B1A7B
triadic
#1A2A7B #7B1A2A #2A7B1A
tetradic
#1A2A7B #7B1A5B #7B6B1A #1A7B3B
square
#1A2A7B #7B1A5B #7B6B1A #1A7B3B
split-complementary
#1A2A7B #7B3B1A #5B7B1A
monochromatic
#050919 #0F1948 #1A2A7B #253BAE #3A54D5

Accessibility & contrast

On white

12.64
#1A2A7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2A7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A7B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A7B#FFFFFF#000000##FFFFFF
##1A2A7B1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2a7b;
/* rgb */ color: rgb(26, 42, 123);
/* oklch */ color: oklch(33.1% 0.138 268.7);
Tailwind
colors: {
  custom: {
    50: '#6763a2',
    500: '#1a2a7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a7b;
$custom-light: #6763a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a7b",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 230.103,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.1383,
    "h": 268.7
  },
  "luminance": 0.03306
}

Semantic roles & 50–950 ramp

primary
#1A2A7B
secondary
#AF9D42
accent
#CC40E8
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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