#1A2290#1A2290

#1A2290 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.175 H 269.6°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1A2290
RGBrgb(26, 34, 144)
HSLhsl(236, 69%, 33%)
HSVhsv(236, 82%, 56%)
CMYKcmyk(81.9%, 76.4%, 0%, 43.5%)
CIE-LABlab(21.49, 37.81, -60.56)
CIE-LCHlch(21.49, 71.40, 301.98°)
OKLaboklab(33.91% -0.0013 -0.1754)
OKLCHoklch(33.91% 0.175 269.6)
XYZxyz(6.0303, 3.3766, 26.7141)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2290 #90881A
analogous
#1A5D90 #1A2290 #4D1A90
triadic
#1A2290 #901A22 #22901A
tetradic
#1A2290 #901A5D #90881A #1A904D
square
#1A2290 #901A5D #90881A #1A904D
split-complementary
#1A2290 #904D1A #5D901A
monochromatic
#070A28 #11165C #1A2290 #232EC4 #4751DE

Accessibility & contrast

On white

12.53
#1A2290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A2290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2290
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2290#FFFFFF#000000##FFFFFF
##1A22901.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2290;
/* rgb */ color: rgb(26, 34, 144);
/* oklch */ color: oklch(33.9% 0.175 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e5eb2',
    500: '#1a2290',
    950: '#000000',
  },
}
SCSS
$custom: #1a2290;
$custom-light: #6e5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2290",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 235.932,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.17546,
    "h": 269.6
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#1A2290
secondary
#BFB747
accent
#E03CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1A2290

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

Preview Lab → · Contrast checker → · Palette generator →

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