#1A107D#1A107D

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

Color values

HEX#1A107D
RGBrgb(26, 16, 125)
HSLhsl(246, 77%, 28%)
HSVhsv(246, 87%, 49%)
CMYKcmyk(79.2%, 87.2%, 0%, 51%)
CIE-LABlab(15.85, 41.03, -57.95)
CIE-LCHlch(15.85, 71.00, 305.30°)
OKLaboklab(29.29% 0.0084 -0.1676)
OKLCHoklch(29.29% 0.168 272.9)
XYZxyz(4.3117, 2.0704, 19.5704)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A107D #737D10
analogous
#103C7D #1A107D #51107D
triadic
#1A107D #7D1A10 #107D1A
tetradic
#1A107D #7D103C #737D10 #107D51
square
#1A107D #7D103C #737D10 #107D51
split-complementary
#1A107D #7D5110 #3C7D10
monochromatic
#06031B #0F0947 #1A107D #2517B3 #3624E3

Accessibility & contrast

On white

14.85
#1A107D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A107D
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A107D#FFFFFF#000000##FFFFFF
##1A107D1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a107d;
/* rgb */ color: rgb(26, 16, 125);
/* oklch */ color: oklch(29.3% 0.168 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b53a4',
    500: '#1a107d',
    950: '#000000',
  },
}
SCSS
$custom: #1a107d;
$custom-light: #6b53a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a107d",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 125
  },
  "hsl": {
    "h": 245.505,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.2929,
    "c": 0.16781,
    "h": 272.9
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#1A107D
secondary
#A8B335
accent
#F434E2
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A107D

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

Preview Lab → · Contrast checker → · Palette generator →

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