#2A2B83#2A2B83

#2A2B83 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.144 H 275.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2A2B83
RGBrgb(42, 43, 131)
HSLhsl(239, 51%, 34%)
HSVhsv(239, 68%, 51%)
CMYKcmyk(67.9%, 67.2%, 0%, 48.6%)
CIE-LABlab(23.20, 29.18, -49.60)
CIE-LCHlch(23.20, 57.55, 300.47°)
OKLaboklab(34.99% 0.0139 -0.1431)
OKLCHoklch(34.99% 0.144 275.5)
XYZxyz(5.9141, 3.8582, 21.9014)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B83 #83822A
analogous
#2A5883 #2A2B83 #562A83
triadic
#2A2B83 #832A2B #2B832A
tetradic
#2A2B83 #832A58 #83822A #2A8356
square
#2A2B83 #832A58 #83822A #2A8356
split-complementary
#2A2B83 #83562A #58832A
monochromatic
#0C0D26 #1B1C55 #2A2B83 #393AB1 #5D5ECB

Accessibility & contrast

On white

11.85
#2A2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2A2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B83
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B83#FFFFFF#000000##FFFFFF
##2A2B831.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2a2b83;
/* rgb */ color: rgb(42, 43, 131);
/* oklch */ color: oklch(35.0% 0.144 275.5);
Tailwind
colors: {
  custom: {
    50: '#7064a8',
    500: '#2a2b83',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b83;
$custom-light: #7064a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b83",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 239.326,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34992,
    "c": 0.14377,
    "h": 275.5
  },
  "luminance": 0.03859
}

Semantic roles & 50–950 ramp

primary
#2A2B83
secondary
#B1B058
accent
#D94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #2A2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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