#1A124E#1A124E

#1A124E is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 23.9% C 0.104 H 281.1°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#1A124E
RGBrgb(26, 18, 78)
HSLhsl(248, 63%, 19%)
HSVhsv(248, 77%, 31%)
CMYKcmyk(66.7%, 76.9%, 0%, 69.4%)
CIE-LABlab(10.57, 23.89, -35.55)
CIE-LCHlch(10.57, 42.83, 303.90°)
OKLaboklab(23.94% 0.0201 -0.1025)
OKLCHoklch(23.94% 0.104 281.1)
XYZxyz(2.0170, 1.2021, 7.3320)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A124E #464E12
analogous
#12284E #1A124E #38124E
triadic
#1A124E #4E1A12 #124E1A
tetradic
#1A124E #4E1228 #464E12 #124E38
square
#1A124E #4E1228 #464E12 #124E38
split-complementary
#1A124E #4E3812 #284E12
monochromatic
#080619 #09071C #1A124E #2B1D80 #3B29B1

Accessibility & contrast

On white

16.93
#1A124E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A124E
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A124E#FFFFFF#000000##FFFFFF
##1A124E1.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001A4D
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a124e;
/* rgb */ color: rgb(26, 18, 78);
/* oklch */ color: oklch(23.9% 0.104 281.1);
Tailwind
colors: {
  custom: {
    50: '#5e5080',
    500: '#1a124e',
    950: '#000000',
  },
}
SCSS
$custom: #1a124e;
$custom-light: #5e5080;
$custom-dark: #000000;
JSON
{
  "hex": "#1a124e",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 78
  },
  "hsl": {
    "h": 248,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23936,
    "c": 0.10442,
    "h": 281.1
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#1A124E
secondary
#7C8735
accent
#E642D0
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05020A
muted
#79787C

Preview Lab

Preview with #1A124E

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

Preview Lab → · Contrast checker → · Palette generator →

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