#1A117F#1A117F

#1A117F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.169 H 272.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1A117F
RGBrgb(26, 17, 127)
HSLhsl(245, 76%, 28%)
HSVhsv(245, 87%, 50%)
CMYKcmyk(79.5%, 86.6%, 0%, 50.2%)
CIE-LABlab(16.27, 41.21, -58.54)
CIE-LCHlch(16.27, 71.59, 305.14°)
OKLaboklab(29.65% 0.0076 -0.1693)
OKLCHoklch(29.65% 0.169 272.6)
XYZxyz(4.4559, 2.1523, 20.2552)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A117F #767F11
analogous
#113F7F #1A117F #51117F
triadic
#1A117F #7F1A11 #117F1A
tetradic
#1A117F #7F113F #767F11 #117F51
square
#1A117F #7F113F #767F11 #117F51
split-complementary
#1A117F #7F5111 #3F7F11
monochromatic
#06041B #0F0A49 #1A117F #2518B5 #3728E2

Accessibility & contrast

On white

14.68
#1A117F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A117F
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A117F#FFFFFF#000000##FFFFFF
##1A117F1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a117f;
/* rgb */ color: rgb(26, 17, 127);
/* oklch */ color: oklch(29.6% 0.169 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b53a5',
    500: '#1a117f',
    950: '#000000',
  },
}
SCSS
$custom: #1a117f;
$custom-light: #6b53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a117f",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 127
  },
  "hsl": {
    "h": 244.909,
    "s": 76.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.2965,
    "c": 0.16949,
    "h": 272.6
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A117F

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

Preview Lab → · Contrast checker → · Palette generator →

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