#1A2A8F#1A2A8F

#1A2A8F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.166 H 268.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#1A2A8F
RGBrgb(26, 42, 143)
HSLhsl(232, 69%, 33%)
HSVhsv(232, 82%, 56%)
CMYKcmyk(81.8%, 70.6%, 0%, 43.9%)
CIE-LABlab(23.20, 32.43, -57.13)
CIE-LCHlch(23.20, 65.70, 299.58°)
OKLaboklab(35.1% -0.0045 -0.1655)
OKLCHoklch(35.1% 0.166 268.4)
XYZxyz(6.2102, 3.8580, 26.3986)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A8F #8F7F1A
analogous
#1A648F #1A2A8F #441A8F
triadic
#1A2A8F #8F1A2A #2A8F1A
tetradic
#1A2A8F #8F1A64 #8F7F1A #1A8F44
square
#1A2A8F #8F1A64 #8F7F1A #1A8F44
split-complementary
#1A2A8F #8F441A #648F1A
monochromatic
#070C27 #111B5B #1A2A8F #2339C3 #465BDD

Accessibility & contrast

On white

11.85
#1A2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A2A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A8F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A8F#FFFFFF#000000##FFFFFF
##1A2A8F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2a8f;
/* rgb */ color: rgb(26, 42, 143);
/* oklch */ color: oklch(35.1% 0.166 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d64b1',
    500: '#1a2a8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a8f;
$custom-light: #6d64b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a8f",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 231.795,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35098,
    "c": 0.16555,
    "h": 268.4
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#1A2A8F
secondary
#BFAE46
accent
#D43CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A2A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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