#2A2E83#2A2E83

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

Color values

HEX#2A2E83
RGBrgb(42, 46, 131)
HSLhsl(237, 51%, 34%)
HSVhsv(237, 68%, 51%)
CMYKcmyk(67.9%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.95, 27.19, -48.37)
CIE-LCHlch(23.95, 55.49, 299.34°)
OKLaboklab(35.54% 0.0113 -0.1395)
OKLCHoklch(35.54% 0.14 274.6)
XYZxyz(6.0272, 4.0844, 21.9391)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E83 #837F2A
analogous
#2A5B83 #2A2E83 #532A83
triadic
#2A2E83 #832A2E #2E832A
tetradic
#2A2E83 #832A5B #837F2A #2A8353
square
#2A2E83 #832A5B #837F2A #2A8353
split-complementary
#2A2E83 #83532A #5B832A
monochromatic
#0C0D26 #1B1E55 #2A2E83 #393EB1 #5D61CB

Accessibility & contrast

On white

11.56
#2A2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2A2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E83
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E83#FFFFFF#000000##FFFFFF
##2A2E831.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2a2e83;
/* rgb */ color: rgb(42, 46, 131);
/* oklch */ color: oklch(35.5% 0.140 274.6);
Tailwind
colors: {
  custom: {
    50: '#6f67a8',
    500: '#2a2e83',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e83;
$custom-light: #6f67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e83",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 237.303,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35541,
    "c": 0.13994,
    "h": 274.6
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#2A2E83
secondary
#B1AD58
accent
#D54DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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