#1A117B#1A117B

#1A117B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.165 H 273.0°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#1A117B
RGBrgb(26, 17, 123)
HSLhsl(245, 76%, 27%)
HSVhsv(245, 86%, 48%)
CMYKcmyk(78.9%, 86.2%, 0%, 51.8%)
CIE-LABlab(15.75, 39.93, -56.85)
CIE-LCHlch(15.75, 69.47, 305.09°)
OKLaboklab(29.14% 0.0087 -0.1644)
OKLCHoklch(29.14% 0.165 273)
XYZxyz(4.2004, 2.0501, 18.9094)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A117B #727B11
analogous
#113D7B #1A117B #4F117B
triadic
#1A117B #7B1A11 #117B1A
tetradic
#1A117B #7B113D #727B11 #117B4F
square
#1A117B #7B113D #727B11 #117B4F
split-complementary
#1A117B #7B4F11 #3D7B11
monochromatic
#06041B #0F0A45 #1A117B #2518B1 #3525E1

Accessibility & contrast

On white

14.89
#1A117B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A117B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A117B
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A117B#FFFFFF#000000##FFFFFF
##1A117B1.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003348
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a117b;
/* rgb */ color: rgb(26, 17, 123);
/* oklch */ color: oklch(29.1% 0.165 273.0);
Tailwind
colors: {
  custom: {
    50: '#6a53a2',
    500: '#1a117b',
    950: '#000000',
  },
}
SCSS
$custom: #1a117b;
$custom-light: #6a53a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a117b",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 123
  },
  "hsl": {
    "h": 245.094,
    "s": 75.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29144,
    "c": 0.16465,
    "h": 273
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#1A117B
secondary
#A7B136
accent
#F235E2
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A117B

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

Preview Lab → · Contrast checker → · Palette generator →

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