#1A258F#1A258F

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

Color values

HEX#1A258F
RGBrgb(26, 37, 143)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 82%, 56%)
CMYKcmyk(81.8%, 74.1%, 0%, 43.9%)
CIE-LABlab(22.04, 35.62, -59.05)
CIE-LCHlch(22.04, 68.96, 301.10°)
OKLaboklab(34.26% -0.0023 -0.1711)
OKLCHoklch(34.26% 0.171 269.2)
XYZxyz(6.0438, 3.5252, 26.3432)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A258F #8F841A
analogous
#1A5F8F #1A258F #491A8F
triadic
#1A258F #8F1A25 #258F1A
tetradic
#1A258F #8F1A5F #8F841A #1A8F49
square
#1A258F #8F1A5F #8F841A #1A8F49
split-complementary
#1A258F #8F491A #5F8F1A
monochromatic
#070A27 #11185B #1A258F #2332C3 #4654DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A258F#FFFFFF#000000##FFFFFF
##1A258F1.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)
#003A92
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a258f;
/* rgb */ color: rgb(26, 37, 143);
/* oklch */ color: oklch(34.3% 0.171 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d60b1',
    500: '#1a258f',
    950: '#000000',
  },
}
SCSS
$custom: #1a258f;
$custom-light: #6d60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a258f",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 234.359,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34262,
    "c": 0.17108,
    "h": 269.2
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A258F

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

Preview Lab → · Contrast checker → · Palette generator →

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