#1A258C#1A258C

#1A258C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.167 H 269.3°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#1A258C
RGBrgb(26, 37, 140)
HSLhsl(234, 69%, 33%)
HSVhsv(234, 81%, 55%)
CMYKcmyk(81.4%, 73.6%, 0%, 45.1%)
CIE-LABlab(21.71, 34.53, -57.72)
CIE-LCHlch(21.71, 67.26, 300.89°)
OKLaboklab(33.93% -0.0019 -0.1672)
OKLCHoklch(33.93% 0.167 269.3)
XYZxyz(5.8196, 3.4355, 25.1623)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A258C #8C811A
analogous
#1A5E8C #1A258C #481A8C
triadic
#1A258C #8C1A25 #258C1A
tetradic
#1A258C #8C1A5E #8C811A #1A8C48
square
#1A258C #8C1A5E #8C811A #1A8C48
split-complementary
#1A258C #8C481A #5E8C1A
monochromatic
#070A25 #101758 #1A258C #2433C0 #4453DC

Accessibility & contrast

On white

12.45
#1A258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A258C
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A258C#FFFFFF#000000##FFFFFF
##1A258C1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#002E8A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a258c;
/* rgb */ color: rgb(26, 37, 140);
/* oklch */ color: oklch(33.9% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d60af',
    500: '#1a258c',
    950: '#000000',
  },
}
SCSS
$custom: #1a258c;
$custom-light: #6d60af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a258c",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 234.211,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33932,
    "c": 0.1672,
    "h": 269.3
  },
  "luminance": 0.03436
}

Semantic roles & 50–950 ramp

primary
#1A258C
secondary
#BEB244
accent
#DB3CEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A258C

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

Preview Lab → · Contrast checker → · Palette generator →

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