#1A115E#1A115E

#1A115E is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.6% C 0.128 H 277.6°. Best body text is #FFFFFF at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#1A115E
RGBrgb(26, 17, 94)
HSLhsl(247, 69%, 22%)
HSVhsv(247, 82%, 37%)
CMYKcmyk(72.3%, 81.9%, 0%, 63.1%)
CIE-LABlab(12.15, 30.22, -43.84)
CIE-LCHlch(12.15, 53.25, 304.59°)
OKLaboklab(25.59% 0.0169 -0.1267)
OKLCHoklch(25.59% 0.128 277.6)
XYZxyz(2.6462, 1.4284, 10.7238)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A115E #555E11
analogous
#112F5E #1A115E #41115E
triadic
#1A115E #5E1A11 #115E1A
tetradic
#1A115E #5E112F #555E11 #115E41
square
#1A115E #5E112F #555E11 #115E41
split-complementary
#1A115E #5E4111 #2F5E11
monochromatic
#07051A #0C082A #1A115E #281A92 #3724C6

Accessibility & contrast

On white

16.33
#1A115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1A115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A115E
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A115E#FFFFFF#000000##FFFFFF
##1A115E1.0016.331.2916.33
#FFFFFF16.331.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1a115e;
/* rgb */ color: rgb(26, 17, 94);
/* oklch */ color: oklch(25.6% 0.128 277.6);
Tailwind
colors: {
  custom: {
    50: '#62518d',
    500: '#1a115e',
    950: '#000000',
  },
}
SCSS
$custom: #1a115e;
$custom-light: #62518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a115e",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 247.013,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2559,
    "c": 0.12778,
    "h": 277.6
  },
  "luminance": 0.01429
}

Semantic roles & 50–950 ramp

primary
#1A115E
secondary
#8B9734
accent
#EC3CD8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A115E

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

Preview Lab → · Contrast checker → · Palette generator →

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