#1A124B#1A124B

#1A124B is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.6% C 0.100 H 281.9°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#1A124B
RGBrgb(26, 18, 75)
HSLhsl(248, 61%, 18%)
HSVhsv(248, 76%, 29%)
CMYKcmyk(65.3%, 76%, 0%, 70.6%)
CIE-LABlab(10.26, 22.79, -33.99)
CIE-LCHlch(10.26, 40.92, 303.84°)
OKLaboklab(23.62% 0.0207 -0.0979)
OKLCHoklch(23.62% 0.1 281.9)
XYZxyz(1.9119, 1.1601, 6.7784)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A124B #434B12
analogous
#12264B #1A124B #36124B
triadic
#1A124B #4B1A12 #124B1A
tetradic
#1A124B #4B1226 #434B12 #124B36
square
#1A124B #4B1226 #434B12 #124B36
split-complementary
#1A124B #4B3612 #264B12
monochromatic
#090619 #09061A #1A124B #2B1E7C #3C2AAE

Accessibility & contrast

On white

17.05
#1A124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1A124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A124B
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A124B#FFFFFF#000000##FFFFFF
##1A124B1.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001A4A
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a124b;
/* rgb */ color: rgb(26, 18, 75);
/* oklch */ color: oklch(23.6% 0.100 281.9);
Tailwind
colors: {
  custom: {
    50: '#5d507e',
    500: '#1a124b',
    950: '#000000',
  },
}
SCSS
$custom: #1a124b;
$custom-light: #5d507e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a124b",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 248.421,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23615,
    "c": 0.10005,
    "h": 281.9
  },
  "luminance": 0.0116
}

Semantic roles & 50–950 ramp

primary
#1A124B
secondary
#798435
accent
#E443CE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A124B

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

Preview Lab → · Contrast checker → · Palette generator →

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