#1A117E#1A117E

#1A117E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.168 H 272.7°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#1A117E
RGBrgb(26, 17, 126)
HSLhsl(245, 76%, 28%)
HSVhsv(245, 87%, 49%)
CMYKcmyk(79.4%, 86.5%, 0%, 50.6%)
CIE-LABlab(16.14, 40.89, -58.12)
CIE-LCHlch(16.14, 71.06, 305.13°)
OKLaboklab(29.52% 0.0078 -0.1681)
OKLCHoklch(29.52% 0.168 272.7)
XYZxyz(4.3911, 2.1264, 19.9136)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A117E #757E11
analogous
#113E7E #1A117E #50117E
triadic
#1A117E #7E1A11 #117E1A
tetradic
#1A117E #7E113E #757E11 #117E50
square
#1A117E #7E113E #757E11 #117E50
split-complementary
#1A117E #7E5011 #3E7E11
monochromatic
#06041B #0F0A48 #1A117E #2518B4 #3727E2

Accessibility & contrast

On white

14.73
#1A117E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A117E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A117E
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A117E#FFFFFF#000000##FFFFFF
##1A117E1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a117e;
/* rgb */ color: rgb(26, 17, 126);
/* oklch */ color: oklch(29.5% 0.168 272.7);
Tailwind
colors: {
  custom: {
    50: '#6b53a5',
    500: '#1a117e',
    950: '#000000',
  },
}
SCSS
$custom: #1a117e;
$custom-light: #6b53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a117e",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 126
  },
  "hsl": {
    "h": 244.954,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29523,
    "c": 0.16828,
    "h": 272.7
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#1A117E
secondary
#AAB437
accent
#F335E3
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A117E

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

Preview Lab → · Contrast checker → · Palette generator →

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