#2A2B8D#2A2B8D

#2A2B8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.157 H 274.6°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2A2B8D
RGBrgb(42, 43, 141)
HSLhsl(239, 54%, 36%)
HSVhsv(239, 70%, 55%)
CMYKcmyk(70.2%, 69.5%, 0%, 44.7%)
CIE-LABlab(24.14, 32.77, -54.31)
CIE-LCHlch(24.14, 63.43, 301.10°)
OKLaboklab(35.96% 0.0127 -0.1569)
OKLCHoklch(35.96% 0.157 274.6)
XYZxyz(6.6248, 4.1425, 25.6446)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B8D #8D8C2A
analogous
#2A5C8D #2A2B8D #5A2A8D
triadic
#2A2B8D #8D2A2B #2B8D2A
tetradic
#2A2B8D #8D2A5C #8D8C2A #2A8D5A
square
#2A2B8D #8D2A5C #8D8C2A #2A8D5A
split-complementary
#2A2B8D #8D5A2A #5C8D2A
monochromatic
#0E0E2F #1C1D5E #2A2B8D #3839BC #6162D0

Accessibility & contrast

On white

11.48
#2A2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2A2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B8D
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B8D#FFFFFF#000000##FFFFFF
##2A2B8D1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2b8d;
/* rgb */ color: rgb(42, 43, 141);
/* oklch */ color: oklch(36.0% 0.157 274.6);
Tailwind
colors: {
  custom: {
    50: '#7265af',
    500: '#2a2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b8d;
$custom-light: #7265af;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b8d",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 239.394,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35962,
    "c": 0.1574,
    "h": 274.6
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#2A2B8D
secondary
#B6B55D
accent
#DC4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2A2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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