#1A2E83#1A2E83

#1A2E83 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.144 H 267.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#1A2E83
RGBrgb(26, 46, 131)
HSLhsl(229, 67%, 31%)
HSVhsv(229, 80%, 51%)
CMYKcmyk(80.2%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.04, 25.10, -49.90)
CIE-LCHlch(23.04, 55.86, 296.71°)
OKLaboklab(34.63% -0.006 -0.1443)
OKLCHoklch(34.63% 0.144 267.6)
XYZxyz(5.4983, 3.8117, 21.9143)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E83 #836F1A
analogous
#1A6283 #1A2E83 #3A1A83
triadic
#1A2E83 #831A2E #2E831A
tetradic
#1A2E83 #831A62 #836F1A #1A833A
square
#1A2E83 #831A62 #836F1A #1A833A
split-complementary
#1A2E83 #833A1A #62831A
monochromatic
#060A1D #101C50 #1A2E83 #2440B6 #3F5CD9

Accessibility & contrast

On white

11.92
#1A2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1A2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E83
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E83#FFFFFF#000000##FFFFFF
##1A2E831.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2e83;
/* rgb */ color: rgb(26, 46, 131);
/* oklch */ color: oklch(34.6% 0.144 267.6);
Tailwind
colors: {
  custom: {
    50: '#6966a8',
    500: '#1a2e83',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e83;
$custom-light: #6966a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e83",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 228.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.14445,
    "h": 267.6
  },
  "luminance": 0.03812
}

Semantic roles & 50–950 ramp

primary
#1A2E83
secondary
#B7A042
accent
#C93EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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