#2A2B90#2A2B90

#2A2B90 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.3% C 0.161 H 274.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2A2B90
RGBrgb(42, 43, 144)
HSLhsl(239, 55%, 36%)
HSVhsv(239, 71%, 56%)
CMYKcmyk(70.8%, 70.1%, 0%, 43.5%)
CIE-LABlab(24.43, 33.83, -55.69)
CIE-LCHlch(24.43, 65.16, 301.28°)
OKLaboklab(36.26% 0.0124 -0.1609)
OKLCHoklch(36.26% 0.161 274.4)
XYZxyz(6.8511, 4.2330, 26.8361)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B90 #908F2A
analogous
#2A5E90 #2A2B90 #5C2A90
triadic
#2A2B90 #902A2B #2B902A
tetradic
#2A2B90 #902A5E #908F2A #2A905C
square
#2A2B90 #902A5E #908F2A #2A905C
split-complementary
#2A2B90 #905C2A #5E902A
monochromatic
#0E0F31 #1C1D61 #2A2B90 #3839BF #6364D1

Accessibility & contrast

On white

11.37
#2A2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2A2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B90
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B90#FFFFFF#000000##FFFFFF
##2A2B901.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00358E
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a2b90;
/* rgb */ color: rgb(42, 43, 144);
/* oklch */ color: oklch(36.3% 0.161 274.4);
Tailwind
colors: {
  custom: {
    50: '#7365b2',
    500: '#2a2b90',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b90;
$custom-light: #7365b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b90",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 239.412,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3626,
    "c": 0.1614,
    "h": 274.4
  },
  "luminance": 0.04234
}

Semantic roles & 50–950 ramp

primary
#2A2B90
secondary
#B7B75E
accent
#DD4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2B90

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

Preview Lab → · Contrast checker → · Palette generator →

#2A2B90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva