#1A237D#1A237D

#1A237D is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.150 H 270.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1A237D
RGBrgb(26, 35, 125)
HSLhsl(235, 66%, 30%)
HSVhsv(235, 79%, 49%)
CMYKcmyk(79.2%, 72%, 0%, 51%)
CIE-LABlab(19.65, 30.23, -51.68)
CIE-LCHlch(19.65, 59.87, 300.33°)
OKLaboklab(31.97% 0.0009 -0.1496)
OKLCHoklch(31.97% 0.15 270.3)
XYZxyz(4.7274, 2.9018, 19.7090)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A237D #7D741A
analogous
#1A557D #1A237D #421A7D
triadic
#1A237D #7D1A23 #237D1A
tetradic
#1A237D #7D1A55 #7D741A #1A7D42
square
#1A237D #7D1A55 #7D741A #1A7D42
split-complementary
#1A237D #7D421A #557D1A
monochromatic
#050719 #0F154A #1A237D #2531B0 #3B49D6

Accessibility & contrast

On white

13.29
#1A237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A237D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A237D#FFFFFF#000000##FFFFFF
##1A237D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a237d;
/* rgb */ color: rgb(26, 35, 125);
/* oklch */ color: oklch(32.0% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#695ea4',
    500: '#1a237d',
    950: '#000000',
  },
}
SCSS
$custom: #1a237d;
$custom-light: #695ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a237d",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 234.545,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.31967,
    "c": 0.14959,
    "h": 270.3
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#1A237D
secondary
#B1A742
accent
#D93FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A237D

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

Preview Lab → · Contrast checker → · Palette generator →

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