#1A207C#1A207C

#1A207C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.152 H 271.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#1A207C
RGBrgb(26, 32, 124)
HSLhsl(236, 65%, 29%)
HSVhsv(236, 79%, 49%)
CMYKcmyk(79%, 74.2%, 0%, 51.4%)
CIE-LABlab(18.83, 31.80, -52.38)
CIE-LCHlch(18.83, 61.28, 301.26°)
OKLaboklab(31.35% 0.0026 -0.1516)
OKLCHoklch(31.35% 0.152 271)
XYZxyz(4.5794, 2.7074, 19.3461)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A207C #7C761A
analogous
#1A517C #1A207C #451A7C
triadic
#1A207C #7C1A20 #207C1A
tetradic
#1A207C #7C1A51 #7C761A #1A7C45
square
#1A207C #7C1A51 #7C761A #1A7C45
split-complementary
#1A207C #7C451A #517C1A
monochromatic
#050719 #0F1349 #1A207C #252DAF #3B44D6

Accessibility & contrast

On white

13.62
#1A207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A207C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A207C#FFFFFF#000000##FFFFFF
##1A207C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a207c;
/* rgb */ color: rgb(26, 32, 124);
/* oklch */ color: oklch(31.3% 0.152 271.0);
Tailwind
colors: {
  custom: {
    50: '#695ca3',
    500: '#1a207c',
    950: '#000000',
  },
}
SCSS
$custom: #1a207c;
$custom-light: #695ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a207c",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 236.327,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31349,
    "c": 0.15167,
    "h": 271
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#1A207C
secondary
#B0A942
accent
#DE40E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A207C

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

Preview Lab → · Contrast checker → · Palette generator →

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