#1A258B#1A258B

#1A258B is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.166 H 269.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1A258B
RGBrgb(26, 37, 139)
HSLhsl(234, 68%, 32%)
HSVhsv(234, 81%, 55%)
CMYKcmyk(81.3%, 73.4%, 0%, 45.5%)
CIE-LABlab(21.60, 34.16, -57.27)
CIE-LCHlch(21.60, 66.68, 300.81°)
OKLaboklab(33.82% -0.0018 -0.1659)
OKLCHoklch(33.82% 0.166 269.4)
XYZxyz(5.7462, 3.4062, 24.7757)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A258B #8B801A
analogous
#1A5E8B #1A258B #471A8B
triadic
#1A258B #8B1A25 #258B1A
tetradic
#1A258B #8B1A5E #8B801A #1A8B47
square
#1A258B #8B1A5E #8B801A #1A8B47
split-complementary
#1A258B #8B471A #5E8B1A
monochromatic
#070A24 #101757 #1A258B #2433BF #4352DC

Accessibility & contrast

On white

12.49
#1A258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A258B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A258B#FFFFFF#000000##FFFFFF
##1A258B1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398E
Deuteranopia (green-blind)
#002E89
Tritanopia (blue-blind)
#004255
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a258b;
/* rgb */ color: rgb(26, 37, 139);
/* oklch */ color: oklch(33.8% 0.166 269.4);
Tailwind
colors: {
  custom: {
    50: '#6c60ae',
    500: '#1a258b',
    950: '#000000',
  },
}
SCSS
$custom: #1a258b;
$custom-light: #6c60ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a258b",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 234.159,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33822,
    "c": 0.1659,
    "h": 269.4
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#1A258B
secondary
#BDB144
accent
#DA3CEB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A258B

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

Preview Lab → · Contrast checker → · Palette generator →

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