#1A2C90#1A2C90

#1A2C90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.6% C 0.165 H 268.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1A2C90
RGBrgb(26, 44, 144)
HSLhsl(231, 69%, 33%)
HSVhsv(231, 82%, 56%)
CMYKcmyk(81.9%, 69.4%, 0%, 43.5%)
CIE-LABlab(23.78, 31.50, -56.78)
CIE-LCHlch(23.78, 64.94, 299.02°)
OKLaboklab(35.56% -0.0055 -0.1645)
OKLCHoklch(35.56% 0.165 268.1)
XYZxyz(6.3590, 4.0339, 26.8236)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C90 #907E1A
analogous
#1A6790 #1A2C90 #431A90
triadic
#1A2C90 #901A2C #2C901A
tetradic
#1A2C90 #901A67 #907E1A #1A9043
square
#1A2C90 #901A67 #907E1A #1A9043
split-complementary
#1A2C90 #90431A #67901A
monochromatic
#070C28 #111C5C #1A2C90 #233CC4 #475EDE

Accessibility & contrast

On white

11.62
#1A2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1A2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C90
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C90#FFFFFF#000000##FFFFFF
##1A2C901.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2c90;
/* rgb */ color: rgb(26, 44, 144);
/* oklch */ color: oklch(35.6% 0.165 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d65b2',
    500: '#1a2c90',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c90;
$custom-light: #6d65b2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c90",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 230.847,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35555,
    "c": 0.16457,
    "h": 268.1
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#1A2C90
secondary
#BFAD47
accent
#D13CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1A2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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