#1A124F#1A124F

#1A124F is a very dark, moderate blue. Relative luminance 0.012; OKLCH L 24.0% C 0.106 H 280.8°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#1A124F
RGBrgb(26, 18, 79)
HSLhsl(248, 63%, 19%)
HSVhsv(248, 77%, 31%)
CMYKcmyk(67.1%, 77.2%, 0%, 69%)
CIE-LABlab(10.68, 24.25, -36.07)
CIE-LCHlch(10.68, 43.46, 303.92°)
OKLaboklab(24.04% 0.0199 -0.104)
OKLCHoklch(24.04% 0.106 280.8)
XYZxyz(2.0531, 1.2166, 7.5223)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A124F #474F12
analogous
#12294F #1A124F #39124F
triadic
#1A124F #4F1A12 #124F1A
tetradic
#1A124F #4F1229 #474F12 #124F39
square
#1A124F #4F1229 #474F12 #124F39
split-complementary
#1A124F #4F3912 #294F12
monochromatic
#080619 #0A071D #1A124F #2A1D81 #3B29B3

Accessibility & contrast

On white

16.89
#1A124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A124F
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A124F#FFFFFF#000000##FFFFFF
##1A124F1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F51
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a124f;
/* rgb */ color: rgb(26, 18, 79);
/* oklch */ color: oklch(24.0% 0.106 280.8);
Tailwind
colors: {
  custom: {
    50: '#5e5181',
    500: '#1a124f',
    950: '#000000',
  },
}
SCSS
$custom: #1a124f;
$custom-light: #5e5181;
$custom-dark: #000000;
JSON
{
  "hex": "#1a124f",
  "rgb": {
    "r": 26,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 247.869,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24044,
    "c": 0.10585,
    "h": 280.8
  },
  "luminance": 0.01217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A124F

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

Preview Lab → · Contrast checker → · Palette generator →

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