#1A205F#1A205F

#1A205F is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.111 H 272.9°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#1A205F
RGBrgb(26, 32, 95)
HSLhsl(235, 57%, 24%)
HSVhsv(235, 73%, 37%)
CMYKcmyk(72.6%, 66.3%, 0%, 62.7%)
CIE-LABlab(15.89, 20.67, -38.35)
CIE-LCHlch(15.89, 43.56, 298.32°)
OKLaboklab(28.32% 0.0056 -0.1106)
OKLCHoklch(28.32% 0.111 272.9)
XYZxyz(3.0074, 2.0786, 11.0670)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A205F #5F591A
analogous
#1A425F #1A205F #361A5F
triadic
#1A205F #5F1A20 #205F1A
tetradic
#1A205F #5F1A42 #5F591A #1A5F36
square
#1A205F #5F1A42 #5F591A #1A5F36
split-complementary
#1A205F #5F361A #425F1A
monochromatic
#070818 #0D102F #1A205F #27308F #3440BF

Accessibility & contrast

On white

14.83
#1A205F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A205F
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A205F#FFFFFF#000000##FFFFFF
##1A205F1.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a205f;
/* rgb */ color: rgb(26, 32, 95);
/* oklch */ color: oklch(28.3% 0.111 272.9);
Tailwind
colors: {
  custom: {
    50: '#615b8d',
    500: '#1a205f',
    950: '#000000',
  },
}
SCSS
$custom: #1a205f;
$custom-light: #615b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a205f",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 95
  },
  "hsl": {
    "h": 234.783,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28321,
    "c": 0.11075,
    "h": 272.9
  },
  "luminance": 0.02079
}

Semantic roles & 50–950 ramp

primary
#1A205F
secondary
#958D40
accent
#D348E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A205F

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

Preview Lab → · Contrast checker → · Palette generator →

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