#1A117D#1A117D

#1A117D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.167 H 272.8°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#1A117D
RGBrgb(26, 17, 125)
HSLhsl(245, 76%, 28%)
HSVhsv(245, 86%, 49%)
CMYKcmyk(79.2%, 86.4%, 0%, 51%)
CIE-LABlab(16.01, 40.57, -57.69)
CIE-LCHlch(16.01, 70.53, 305.11°)
OKLaboklab(29.4% 0.0081 -0.1669)
OKLCHoklch(29.4% 0.167 272.8)
XYZxyz(4.3269, 2.1007, 19.5755)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A117D #747D11
analogous
#113E7D #1A117D #50117D
triadic
#1A117D #7D1A11 #117D1A
tetradic
#1A117D #7D113E #747D11 #117D50
square
#1A117D #7D113E #747D11 #117D50
split-complementary
#1A117D #7D5011 #3E7D11
monochromatic
#06041B #0F0A47 #1A117D #2518B3 #3627E2

Accessibility & contrast

On white

14.79
#1A117D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A117D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A117D
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A117D#FFFFFF#000000##FFFFFF
##1A117D1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00227B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a117d;
/* rgb */ color: rgb(26, 17, 125);
/* oklch */ color: oklch(29.4% 0.167 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b53a4',
    500: '#1a117d',
    950: '#000000',
  },
}
SCSS
$custom: #1a117d;
$custom-light: #6b53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a117d",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 125
  },
  "hsl": {
    "h": 245,
    "s": 76.056,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29397,
    "c": 0.16708,
    "h": 272.8
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#1A117D
secondary
#A9B337
accent
#F335E3
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A117D

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

Preview Lab → · Contrast checker → · Palette generator →

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