#1A2D97#1A2D97

#1A2D97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.173 H 267.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1A2D97
RGBrgb(26, 45, 151)
HSLhsl(231, 71%, 35%)
HSVhsv(231, 83%, 59%)
CMYKcmyk(82.8%, 70.2%, 0%, 40.8%)
CIE-LABlab(24.73, 33.49, -59.54)
CIE-LCHlch(24.73, 68.31, 299.36°)
OKLaboklab(36.46% -0.0066 -0.1725)
OKLCHoklch(36.46% 0.173 267.8)
XYZxyz(6.9484, 4.3299, 29.7417)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D97 #97841A
analogous
#1A6C97 #1A2D97 #461A97
triadic
#1A2D97 #971A2D #2D971A
tetradic
#1A2D97 #971A6C #97841A #1A9746
square
#1A2D97 #971A6C #97841A #1A9746
split-complementary
#1A2D97 #97461A #6C971A
monochromatic
#080E2F #111D63 #1A2D97 #233DCB #4B62E0

Accessibility & contrast

On white

11.25
#1A2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1A2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D97
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D97#FFFFFF#000000##FFFFFF
##1A2D971.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a2d97;
/* rgb */ color: rgb(26, 45, 151);
/* oklch */ color: oklch(36.5% 0.173 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f66b7',
    500: '#1a2d97',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d97;
$custom-light: #6f66b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d97",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 230.88,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3646,
    "c": 0.17263,
    "h": 267.8
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#1A2D97
secondary
#C2B04B
accent
#D23AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1A2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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