#1A124A#1A124A

#1A124A is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.5% C 0.099 H 282.2°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#1A124A
RGBrgb(26, 18, 74)
HSLhsl(249, 61%, 18%)
HSVhsv(249, 76%, 29%)
CMYKcmyk(64.9%, 75.7%, 0%, 71%)
CIE-LABlab(10.16, 22.43, -33.46)
CIE-LCHlch(10.16, 40.29, 303.83°)
OKLaboklab(23.51% 0.0209 -0.0963)
OKLCHoklch(23.51% 0.099 282.2)
XYZxyz(1.8780, 1.1465, 6.5996)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A124A #424A12
analogous
#12264A #1A124A #36124A
triadic
#1A124A #4A1A12 #124A1A
tetradic
#1A124A #4A1226 #424A12 #124A36
square
#1A124A #4A1226 #424A12 #124A36
split-complementary
#1A124A #4A3612 #264A12
monochromatic
#090619 #090619 #1A124A #2B1E7B #3D2AAC

Accessibility & contrast

On white

17.08
#1A124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A124A
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A124A#FFFFFF#000000##FFFFFF
##1A124A1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#01212C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a124a;
/* rgb */ color: rgb(26, 18, 74);
/* oklch */ color: oklch(23.5% 0.099 282.2);
Tailwind
colors: {
  custom: {
    50: '#5d507d',
    500: '#1a124a',
    950: '#000000',
  },
}
SCSS
$custom: #1a124a;
$custom-light: #5d507d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a124a",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 248.571,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2351,
    "c": 0.09858,
    "h": 282.2
  },
  "luminance": 0.01147
}

Semantic roles & 50–950 ramp

primary
#1A124A
secondary
#788335
accent
#E444CD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A124A

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

Preview Lab → · Contrast checker → · Palette generator →

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