#1A237A#1A237A

#1A237A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.146 H 270.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1A237A
RGBrgb(26, 35, 122)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 48%)
CMYKcmyk(78.7%, 71.3%, 0%, 52.2%)
CIE-LABlab(19.33, 29.10, -50.28)
CIE-LCHlch(19.33, 58.09, 300.06°)
OKLaboklab(31.65% 0.0012 -0.1455)
OKLCHoklch(31.65% 0.146 270.5)
XYZxyz(4.5387, 2.8263, 18.7149)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A237A #7A711A
analogous
#1A537A #1A237A #411A7A
triadic
#1A237A #7A1A23 #237A1A
tetradic
#1A237A #7A1A53 #7A711A #1A7A41
square
#1A237A #7A1A53 #7A711A #1A7A41
split-complementary
#1A237A #7A411A #537A1A
monochromatic
#050719 #0F1548 #1A237A #2531AC #3948D5

Accessibility & contrast

On white

13.42
#1A237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A237A
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A237A#FFFFFF#000000##FFFFFF
##1A237A1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a237a;
/* rgb */ color: rgb(26, 35, 122);
/* oklch */ color: oklch(31.6% 0.146 270.5);
Tailwind
colors: {
  custom: {
    50: '#685ea1',
    500: '#1a237a',
    950: '#000000',
  },
}
SCSS
$custom: #1a237a;
$custom-light: #685ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a237a",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 234.375,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31648,
    "c": 0.14553,
    "h": 270.5
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#1A237A
secondary
#AEA441
accent
#D840E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A237A

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

Preview Lab → · Contrast checker → · Palette generator →

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