#1A207F#1A207F

#1A207F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.156 H 270.8°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#1A207F
RGBrgb(26, 32, 127)
HSLhsl(236, 66%, 30%)
HSVhsv(236, 80%, 50%)
CMYKcmyk(79.5%, 74.8%, 0%, 50.2%)
CIE-LABlab(19.16, 32.91, -53.75)
CIE-LCHlch(19.16, 63.02, 301.48°)
OKLaboklab(31.68% 0.0021 -0.1556)
OKLCHoklch(31.68% 0.156 270.8)
XYZxyz(4.7720, 2.7844, 20.3605)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A207F #7F791A
analogous
#1A527F #1A207F #471A7F
triadic
#1A207F #7F1A20 #207F1A
tetradic
#1A207F #7F1A52 #7F791A #1A7F47
square
#1A207F #7F1A52 #7F791A #1A7F47
split-complementary
#1A207F #7F471A #527F1A
monochromatic
#050619 #10134C #1A207F #242DB2 #3C45D7

Accessibility & contrast

On white

13.49
#1A207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A207F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A207F#FFFFFF#000000##FFFFFF
##1A207F1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002A7D
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a207f;
/* rgb */ color: rgb(26, 32, 127);
/* oklch */ color: oklch(31.7% 0.156 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a5ca5',
    500: '#1a207f',
    950: '#000000',
  },
}
SCSS
$custom: #1a207f;
$custom-light: #6a5ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a207f",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 236.436,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.15564,
    "h": 270.8
  },
  "luminance": 0.02785
}

Semantic roles & 50–950 ramp

primary
#1A207F
secondary
#B3AC42
accent
#DF3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1A207F

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

Preview Lab → · Contrast checker → · Palette generator →

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