#1A124D#1A124D

#1A124D is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.8% C 0.103 H 281.4°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#1A124D
RGBrgb(26, 18, 77)
HSLhsl(248, 62%, 19%)
HSVhsv(248, 77%, 30%)
CMYKcmyk(66.2%, 76.6%, 0%, 69.8%)
CIE-LABlab(10.47, 23.52, -35.03)
CIE-LCHlch(10.47, 42.20, 303.88°)
OKLaboklab(23.83% 0.0203 -0.1009)
OKLCHoklch(23.83% 0.103 281.4)
XYZxyz(1.9814, 1.1879, 7.1446)
Luminance0.0119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A124D #454D12
analogous
#12274D #1A124D #37124D
triadic
#1A124D #4D1A12 #124D1A
tetradic
#1A124D #4D1227 #454D12 #124D37
square
#1A124D #4D1227 #454D12 #124D37
split-complementary
#1A124D #4D3712 #274D12
monochromatic
#080619 #09061B #1A124D #2B1E7F #3B29B0

Accessibility & contrast

On white

16.97
#1A124D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1A124D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A124D
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A124D#FFFFFF#000000##FFFFFF
##1A124D1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001A4C
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a124d;
/* rgb */ color: rgb(26, 18, 77);
/* oklch */ color: oklch(23.8% 0.103 281.4);
Tailwind
colors: {
  custom: {
    50: '#5e507f',
    500: '#1a124d',
    950: '#000000',
  },
}
SCSS
$custom: #1a124d;
$custom-light: #5e507f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a124d",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 77
  },
  "hsl": {
    "h": 248.136,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23829,
    "c": 0.10297,
    "h": 281.4
  },
  "luminance": 0.01188
}

Semantic roles & 50–950 ramp

primary
#1A124D
secondary
#7B8635
accent
#E543CF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A124D

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

Preview Lab → · Contrast checker → · Palette generator →

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