#1A207E#1A207E

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

Color values

HEX#1A207E
RGBrgb(26, 32, 126)
HSLhsl(236, 66%, 30%)
HSVhsv(236, 79%, 49%)
CMYKcmyk(79.4%, 74.6%, 0%, 50.6%)
CIE-LABlab(19.05, 32.54, -53.30)
CIE-LCHlch(19.05, 62.44, 301.41°)
OKLaboklab(31.57% 0.0023 -0.1543)
OKLCHoklch(31.57% 0.154 270.8)
XYZxyz(4.7071, 2.7585, 20.0190)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A207E #7E781A
analogous
#1A527E #1A207E #461A7E
triadic
#1A207E #7E1A20 #207E1A
tetradic
#1A207E #7E1A52 #7E781A #1A7E46
square
#1A207E #7E1A52 #7E781A #1A7E46
split-complementary
#1A207E #7E461A #527E1A
monochromatic
#050619 #10134B #1A207E #242DB1 #3C45D7

Accessibility & contrast

On white

13.53
#1A207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A207E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A207E#FFFFFF#000000##FFFFFF
##1A207E1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#00297C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a207e;
/* rgb */ color: rgb(26, 32, 126);
/* oklch */ color: oklch(31.6% 0.154 270.8);
Tailwind
colors: {
  custom: {
    50: '#695ca4',
    500: '#1a207e',
    950: '#000000',
  },
}
SCSS
$custom: #1a207e;
$custom-light: #695ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a207e",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 236.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3157,
    "c": 0.15433,
    "h": 270.8
  },
  "luminance": 0.02759
}

Semantic roles & 50–950 ramp

primary
#1A207E
secondary
#B2AB42
accent
#DF3FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A207E

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

Preview Lab → · Contrast checker → · Palette generator →

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