#1A2379#1A2379

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

Color values

HEX#1A2379
RGBrgb(26, 35, 121)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 47%)
CMYKcmyk(78.5%, 71.1%, 0%, 52.5%)
CIE-LABlab(19.23, 28.71, -49.81)
CIE-LCHlch(19.23, 57.49, 299.96°)
OKLaboklab(31.54% 0.0013 -0.1441)
OKLCHoklch(31.54% 0.144 270.5)
XYZxyz(4.4770, 2.8017, 18.3903)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2379 #79701A
analogous
#1A5379 #1A2379 #411A79
triadic
#1A2379 #791A23 #23791A
tetradic
#1A2379 #791A53 #79701A #1A7941
square
#1A2379 #791A53 #79701A #1A7941
split-complementary
#1A2379 #79411A #53791A
monochromatic
#050719 #0F1447 #1A2379 #2532AB #3948D4

Accessibility & contrast

On white

13.46
#1A2379 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2379 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2379
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2379#FFFFFF#000000##FFFFFF
##1A23791.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2379;
/* rgb */ color: rgb(26, 35, 121);
/* oklch */ color: oklch(31.5% 0.144 270.5);
Tailwind
colors: {
  custom: {
    50: '#685ea1',
    500: '#1a2379',
    950: '#000000',
  },
}
SCSS
$custom: #1a2379;
$custom-light: #685ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2379",
  "rgb": {
    "r": 26,
    "g": 35,
    "b": 121
  },
  "hsl": {
    "h": 234.316,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31542,
    "c": 0.14416,
    "h": 270.5
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#1A2379
secondary
#ADA341
accent
#D840E8
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2379

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

Preview Lab → · Contrast checker → · Palette generator →

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