#1A2D83#1A2D83

#1A2D83 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.146 H 267.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1A2D83
RGBrgb(26, 45, 131)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 51%)
CMYKcmyk(80.2%, 65.6%, 0%, 48.6%)
CIE-LABlab(22.77, 25.79, -50.33)
CIE-LCHlch(22.77, 56.56, 297.13°)
OKLaboklab(34.43% -0.0054 -0.1456)
OKLCHoklch(34.43% 0.146 267.9)
XYZxyz(5.4597, 3.7345, 21.9014)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D83 #83701A
analogous
#1A6183 #1A2D83 #3B1A83
triadic
#1A2D83 #831A2D #2D831A
tetradic
#1A2D83 #831A61 #83701A #1A833B
square
#1A2D83 #831A61 #83701A #1A833B
split-complementary
#1A2D83 #833B1A #61831A
monochromatic
#060A1D #101B50 #1A2D83 #243FB6 #3F5AD9

Accessibility & contrast

On white

12.02
#1A2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D83
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D83#FFFFFF#000000##FFFFFF
##1A2D831.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2d83;
/* rgb */ color: rgb(26, 45, 131);
/* oklch */ color: oklch(34.4% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#6965a8',
    500: '#1a2d83',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d83;
$custom-light: #6965a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d83",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 229.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34431,
    "c": 0.14571,
    "h": 267.9
  },
  "luminance": 0.03735
}

Semantic roles & 50–950 ramp

primary
#1A2D83
secondary
#B7A242
accent
#CB3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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