#1A258E#1A258E

#1A258E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.170 H 269.3°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1A258E
RGBrgb(26, 37, 142)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 82%, 56%)
CMYKcmyk(81.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(21.93, 35.26, -58.60)
CIE-LCHlch(21.93, 68.39, 301.03°)
OKLaboklab(34.15% -0.0022 -0.1698)
OKLCHoklch(34.15% 0.17 269.3)
XYZxyz(5.9684, 3.4951, 25.9460)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A258E #8E831A
analogous
#1A5F8E #1A258E #491A8E
triadic
#1A258E #8E1A25 #258E1A
tetradic
#1A258E #8E1A5F #8E831A #1A8E49
square
#1A258E #8E1A5F #8E831A #1A8E49
split-complementary
#1A258E #8E491A #5F8E1A
monochromatic
#070A27 #11185A #1A258E #2332C2 #4554DD

Accessibility & contrast

On white

12.36
#1A258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A258E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A258E#FFFFFF#000000##FFFFFF
##1A258E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a258e;
/* rgb */ color: rgb(26, 37, 142);
/* oklch */ color: oklch(34.2% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d60b0',
    500: '#1a258e',
    950: '#000000',
  },
}
SCSS
$custom: #1a258e;
$custom-light: #6d60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a258e",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 234.31,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34151,
    "c": 0.16978,
    "h": 269.3
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#1A258E
secondary
#BEB345
accent
#DB3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A258E

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

Preview Lab → · Contrast checker → · Palette generator →

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