#1A258D#1A258D

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

Color values

HEX#1A258D
RGBrgb(26, 37, 141)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 82%, 55%)
CMYKcmyk(81.6%, 73.8%, 0%, 44.7%)
CIE-LABlab(21.82, 34.89, -58.16)
CIE-LCHlch(21.82, 67.82, 300.96°)
OKLaboklab(34.04% -0.0021 -0.1685)
OKLCHoklch(34.04% 0.168 269.3)
XYZxyz(5.8936, 3.4652, 25.5524)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A258D #8D821A
analogous
#1A5E8D #1A258D #491A8D
triadic
#1A258D #8D1A25 #258D1A
tetradic
#1A258D #8D1A5E #8D821A #1A8D49
square
#1A258D #8D1A5E #8D821A #1A8D49
split-complementary
#1A258D #8D491A #5E8D1A
monochromatic
#070A26 #101759 #1A258D #2433C1 #4553DD

Accessibility & contrast

On white

12.40
#1A258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A258D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A258D#FFFFFF#000000##FFFFFF
##1A258D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#002F8B
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a258d;
/* rgb */ color: rgb(26, 37, 141);
/* oklch */ color: oklch(34.0% 0.168 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d60af',
    500: '#1a258d',
    950: '#000000',
  },
}
SCSS
$custom: #1a258d;
$custom-light: #6d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a258d",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 234.261,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34041,
    "c": 0.16849,
    "h": 269.3
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#1A258D
secondary
#BEB245
accent
#DB3CEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A258D

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

Preview Lab → · Contrast checker → · Palette generator →

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