#1A124C#1A124C

#1A124C is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.7% C 0.102 H 281.6°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#1A124C
RGBrgb(26, 18, 76)
HSLhsl(248, 62%, 18%)
HSVhsv(248, 76%, 30%)
CMYKcmyk(65.8%, 76.3%, 0%, 70.2%)
CIE-LABlab(10.36, 23.16, -34.51)
CIE-LCHlch(10.36, 41.56, 303.86°)
OKLaboklab(23.72% 0.0205 -0.0994)
OKLCHoklch(23.72% 0.102 281.6)
XYZxyz(1.9464, 1.1739, 6.9601)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A124C #444C12
analogous
#12274C #1A124C #37124C
triadic
#1A124C #4C1A12 #124C1A
tetradic
#1A124C #4C1227 #444C12 #124C37
square
#1A124C #4C1227 #444C12 #124C37
split-complementary
#1A124C #4C3712 #274C12
monochromatic
#080619 #09061B #1A124C #2B1E7D #3C29AF

Accessibility & contrast

On white

17.01
#1A124C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A124C
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A124C#FFFFFF#000000##FFFFFF
##1A124C1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001A4B
Tritanopia (blue-blind)
#00212D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a124c;
/* rgb */ color: rgb(26, 18, 76);
/* oklch */ color: oklch(23.7% 0.102 281.6);
Tailwind
colors: {
  custom: {
    50: '#5e507f',
    500: '#1a124c',
    950: '#000000',
  },
}
SCSS
$custom: #1a124c;
$custom-light: #5e507f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a124c",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 76
  },
  "hsl": {
    "h": 248.276,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23722,
    "c": 0.10152,
    "h": 281.6
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#1A124C
secondary
#7A8535
accent
#E543CE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A124C

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

Preview Lab → · Contrast checker → · Palette generator →

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