#2A2E80#2A2E80

#2A2E80 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.136 H 274.9°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#2A2E80
RGBrgb(42, 46, 128)
HSLhsl(237, 51%, 33%)
HSVhsv(237, 67%, 50%)
CMYKcmyk(67.2%, 64.1%, 0%, 49.8%)
CIE-LABlab(23.69, 26.09, -46.92)
CIE-LCHlch(23.69, 53.69, 299.08°)
OKLaboklab(35.27% 0.0115 -0.1352)
OKLCHoklch(35.27% 0.136 274.9)
XYZxyz(5.8268, 4.0042, 20.8837)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E80 #807C2A
analogous
#2A5980 #2A2E80 #512A80
triadic
#2A2E80 #802A2E #2E802A
tetradic
#2A2E80 #802A59 #807C2A #2A8051
square
#2A2E80 #802A59 #807C2A #2A8051
split-complementary
#2A2E80 #80512A #59802A
monochromatic
#0C0D24 #1B1D52 #2A2E80 #393FAE #5B60C9

Accessibility & contrast

On white

11.66
#2A2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2A2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E80
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E80#FFFFFF#000000##FFFFFF
##2A2E801.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a2e80;
/* rgb */ color: rgb(42, 46, 128);
/* oklch */ color: oklch(35.3% 0.136 274.9);
Tailwind
colors: {
  custom: {
    50: '#6f67a6',
    500: '#2a2e80',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e80;
$custom-light: #6f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e80",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 237.209,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.13569,
    "h": 274.9
  },
  "luminance": 0.04005
}

Semantic roles & 50–950 ramp

primary
#2A2E80
secondary
#AFAB57
accent
#D44EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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