#1A2A90#1A2A90

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

Color values

HEX#1A2A90
RGBrgb(26, 42, 144)
HSLhsl(232, 69%, 33%)
HSVhsv(232, 82%, 56%)
CMYKcmyk(81.9%, 70.8%, 0%, 43.5%)
CIE-LABlab(23.30, 32.81, -57.58)
CIE-LCHlch(23.30, 66.27, 299.68°)
OKLaboklab(35.2% -0.0046 -0.1668)
OKLCHoklch(35.2% 0.167 268.4)
XYZxyz(6.2863, 3.8884, 26.7994)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A90 #90801A
analogous
#1A6590 #1A2A90 #451A90
triadic
#1A2A90 #901A2A #2A901A
tetradic
#1A2A90 #901A65 #90801A #1A9045
square
#1A2A90 #901A65 #90801A #1A9045
split-complementary
#1A2A90 #90451A #65901A
monochromatic
#070C28 #111B5C #1A2A90 #2339C4 #475BDE

Accessibility & contrast

On white

11.81
#1A2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2A90
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A90#FFFFFF#000000##FFFFFF
##1A2A901.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a2a90;
/* rgb */ color: rgb(26, 42, 144);
/* oklch */ color: oklch(35.2% 0.167 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d64b2',
    500: '#1a2a90',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a90;
$custom-light: #6d64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a90",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 231.864,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35204,
    "c": 0.16687,
    "h": 268.4
  },
  "luminance": 0.03889
}

Semantic roles & 50–950 ramp

primary
#1A2A90
secondary
#BFAF47
accent
#D43CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1A2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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