#2A2B73#2A2B73

#2A2B73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.121 H 277.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2A2B73
RGBrgb(42, 43, 115)
HSLhsl(239, 46%, 31%)
HSVhsv(239, 63%, 45%)
CMYKcmyk(63.5%, 62.6%, 0%, 54.9%)
CIE-LABlab(21.79, 23.36, -41.74)
CIE-LCHlch(21.79, 47.83, 299.23°)
OKLaboklab(33.52% 0.0149 -0.12)
OKLCHoklch(33.52% 0.121 277.1)
XYZxyz(4.9122, 3.4574, 16.6248)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B73 #73722A
analogous
#2A4F73 #2A2B73 #4D2A73
triadic
#2A2B73 #732A2B #2B732A
tetradic
#2A2B73 #732A4F #73722A #2A734D
square
#2A2B73 #732A4F #73722A #2A734D
split-complementary
#2A2B73 #734D2A #4F732A
monochromatic
#090919 #1A1A46 #2A2B73 #3A3CA0 #5658C1

Accessibility & contrast

On white

12.41
#2A2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2A2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B73
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B73#FFFFFF#000000##FFFFFF
##2A2B731.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2a2b73;
/* rgb */ color: rgb(42, 43, 115);
/* oklch */ color: oklch(33.5% 0.121 277.1);
Tailwind
colors: {
  custom: {
    50: '#6c649c',
    500: '#2a2b73',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b73;
$custom-light: #6c649c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b73",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 239.178,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33522,
    "c": 0.12094,
    "h": 277.1
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#2A2B73
secondary
#A5A454
accent
#D452D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2A2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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