#1A237C#1A237C

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

Color values

HEX#1A237C
RGBrgb(26, 35, 124)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 49%)
CMYKcmyk(79%, 71.8%, 0%, 51.4%)
CIE-LABlab(19.54, 29.85, -51.21)
CIE-LCHlch(19.54, 59.28, 300.24°)
OKLaboklab(31.86% 0.001 -0.1482)
OKLCHoklch(31.86% 0.148 270.4)
XYZxyz(4.6639, 2.8764, 19.3743)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A237C #7C731A
analogous
#1A547C #1A237C #421A7C
triadic
#1A237C #7C1A23 #237C1A
tetradic
#1A237C #7C1A54 #7C731A #1A7C42
square
#1A237C #7C1A54 #7C731A #1A7C42
split-complementary
#1A237C #7C421A #547C1A
monochromatic
#050719 #0F1549 #1A237C #2531AF #3B49D6

Accessibility & contrast

On white

13.33
#1A237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A237C
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A237C#FFFFFF#000000##FFFFFF
##1A237C1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a237c;
/* rgb */ color: rgb(26, 35, 124);
/* oklch */ color: oklch(31.9% 0.148 270.4);
Tailwind
colors: {
  custom: {
    50: '#685ea3',
    500: '#1a237c',
    950: '#000000',
  },
}
SCSS
$custom: #1a237c;
$custom-light: #685ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a237c",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 234.49,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.3186,
    "c": 0.14824,
    "h": 270.4
  },
  "luminance": 0.02877
}

Semantic roles & 50–950 ramp

primary
#1A237C
secondary
#B0A642
accent
#D940E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A237C

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

Preview Lab → · Contrast checker → · Palette generator →

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