#1A107F#1A107F

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

Color values

HEX#1A107F
RGBrgb(26, 16, 127)
HSLhsl(245, 78%, 28%)
HSVhsv(245, 87%, 50%)
CMYKcmyk(79.5%, 87.4%, 0%, 50.2%)
CIE-LABlab(16.11, 41.66, -58.79)
CIE-LCHlch(16.11, 72.05, 305.32°)
OKLaboklab(29.55% 0.0078 -0.17)
OKLCHoklch(29.55% 0.17 272.6)
XYZxyz(4.4408, 2.1220, 20.2501)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A107F #757F10
analogous
#103E7F #1A107F #51107F
triadic
#1A107F #7F1A10 #107F1A
tetradic
#1A107F #7F103E #757F10 #107F51
square
#1A107F #7F103E #757F10 #107F51
split-complementary
#1A107F #7F5110 #3E7F10
monochromatic
#06031B #0F0949 #1A107F #2517B5 #3726E4

Accessibility & contrast

On white

14.74
#1A107F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A107F
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A107F#FFFFFF#000000##FFFFFF
##1A107F1.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.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: #1a107f;
/* rgb */ color: rgb(26, 16, 127);
/* oklch */ color: oklch(29.5% 0.170 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b53a5',
    500: '#1a107f',
    950: '#000000',
  },
}
SCSS
$custom: #1a107f;
$custom-light: #6b53a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a107f",
  "rgb": {
    "r": 26,
    "g": 16,
    "b": 127
  },
  "hsl": {
    "h": 245.405,
    "s": 77.622,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29546,
    "c": 0.17021,
    "h": 272.6
  },
  "luminance": 0.02123
}

Semantic roles & 50–950 ramp

primary
#1A107F
secondary
#AAB536
accent
#F434E3
background
#F7F4FA
surface
#EDE7F4
border
#C8C3CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #1A107F

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

Preview Lab → · Contrast checker → · Palette generator →

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