#1A115F#1A115F

#1A115F is a dark, vivid blue. Relative luminance 0.014; OKLCH L 25.7% C 0.129 H 277.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#1A115F
RGBrgb(26, 17, 95)
HSLhsl(247, 70%, 22%)
HSVhsv(247, 82%, 37%)
CMYKcmyk(72.6%, 82.1%, 0%, 62.7%)
CIE-LABlab(12.26, 30.57, -44.31)
CIE-LCHlch(12.26, 53.83, 304.60°)
OKLaboklab(25.71% 0.0166 -0.128)
OKLCHoklch(25.71% 0.129 277.4)
XYZxyz(2.6913, 1.4465, 10.9616)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A115F #565F11
analogous
#112F5F #1A115F #41115F
triadic
#1A115F #5F1A11 #115F1A
tetradic
#1A115F #5F112F #565F11 #115F41
square
#1A115F #5F112F #565F11 #115F41
split-complementary
#1A115F #5F4111 #2F5F11
monochromatic
#07051A #0C082B #1A115F #281A93 #3624C7

Accessibility & contrast

On white

16.29
#1A115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A115F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A115F#FFFFFF#000000##FFFFFF
##1A115F1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a115f;
/* rgb */ color: rgb(26, 17, 95);
/* oklch */ color: oklch(25.7% 0.129 277.4);
Tailwind
colors: {
  custom: {
    50: '#63518d',
    500: '#1a115f',
    950: '#000000',
  },
}
SCSS
$custom: #1a115f;
$custom-light: #63518d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a115f",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 246.923,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.25708,
    "c": 0.12911,
    "h": 277.4
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#1A115F
secondary
#8C9834
accent
#EC3BD8
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A115F

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

Preview Lab → · Contrast checker → · Palette generator →

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