#1A237B#1A237B

#1A237B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.147 H 270.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1A237B
RGBrgb(26, 35, 123)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 48%)
CMYKcmyk(78.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(19.44, 29.48, -50.75)
CIE-LCHlch(19.44, 58.69, 300.15°)
OKLaboklab(31.75% 0.0011 -0.1469)
OKLCHoklch(31.75% 0.147 270.4)
XYZxyz(4.6010, 2.8512, 19.0429)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A237B #7B721A
analogous
#1A547B #1A237B #421A7B
triadic
#1A237B #7B1A23 #237B1A
tetradic
#1A237B #7B1A54 #7B721A #1A7B42
square
#1A237B #7B1A54 #7B721A #1A7B42
split-complementary
#1A237B #7B421A #547B1A
monochromatic
#050719 #0F1548 #1A237B #2531AE #3A48D5

Accessibility & contrast

On white

13.37
#1A237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A237B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A237B#FFFFFF#000000##FFFFFF
##1A237B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347E
Deuteranopia (green-blind)
#002A79
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a237b;
/* rgb */ color: rgb(26, 35, 123);
/* oklch */ color: oklch(31.8% 0.147 270.4);
Tailwind
colors: {
  custom: {
    50: '#685ea2',
    500: '#1a237b',
    950: '#000000',
  },
}
SCSS
$custom: #1a237b;
$custom-light: #685ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a237b",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 234.433,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31754,
    "c": 0.14688,
    "h": 270.4
  },
  "luminance": 0.02852
}

Semantic roles & 50–950 ramp

primary
#1A237B
secondary
#AFA542
accent
#D840E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A237B

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

Preview Lab → · Contrast checker → · Palette generator →

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