#1A2F84#1A2F84

#1A2F84 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.145 H 267.4°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#1A2F84
RGBrgb(26, 47, 132)
HSLhsl(228, 67%, 31%)
HSVhsv(228, 80%, 52%)
CMYKcmyk(80.3%, 64.4%, 0%, 48.2%)
CIE-LABlab(23.40, 24.81, -49.94)
CIE-LCHlch(23.40, 55.76, 296.42°)
OKLaboklab(34.92% -0.0067 -0.1444)
OKLCHoklch(34.92% 0.145 267.4)
XYZxyz(5.6059, 3.9179, 22.2861)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F84 #846F1A
analogous
#1A6484 #1A2F84 #3A1A84
triadic
#1A2F84 #841A2F #2F841A
tetradic
#1A2F84 #841A64 #846F1A #1A843A
square
#1A2F84 #841A64 #846F1A #1A843A
split-complementary
#1A2F84 #843A1A #64841A
monochromatic
#060B1E #101D51 #1A2F84 #2441B7 #3F5ED9

Accessibility & contrast

On white

11.77
#1A2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1A2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F84
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F84#FFFFFF#000000##FFFFFF
##1A2F841.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003382
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2f84;
/* rgb */ color: rgb(26, 47, 132);
/* oklch */ color: oklch(34.9% 0.145 267.4);
Tailwind
colors: {
  custom: {
    50: '#6967a9',
    500: '#1a2f84',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f84;
$custom-light: #6967a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f84",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 228.113,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34921,
    "c": 0.14458,
    "h": 267.4
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#1A2F84
secondary
#B8A042
accent
#C83EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1A2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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