#2A2B94#2A2B94

#2A2B94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.167 H 274.1°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2A2B94
RGBrgb(42, 43, 148)
HSLhsl(239, 56%, 37%)
HSVhsv(239, 72%, 58%)
CMYKcmyk(71.6%, 70.9%, 0%, 42%)
CIE-LABlab(24.82, 35.24, -57.52)
CIE-LCHlch(24.82, 67.46, 301.50°)
OKLaboklab(36.66% 0.0118 -0.1663)
OKLCHoklch(36.66% 0.167 274.1)
XYZxyz(7.1622, 4.3574, 28.4748)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2B94 #94932A
analogous
#2A6094 #2A2B94 #5E2A94
triadic
#2A2B94 #942A2B #2B942A
tetradic
#2A2B94 #942A60 #94932A #2A945E
square
#2A2B94 #942A60 #94932A #2A945E
split-complementary
#2A2B94 #945E2A #60942A
monochromatic
#0F0F35 #1C1D64 #2A2B94 #3839C4 #6566D3

Accessibility & contrast

On white

11.22
#2A2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2B94
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2B94#FFFFFF#000000##FFFFFF
##2A2B941.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003692
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a2b94;
/* rgb */ color: rgb(42, 43, 148);
/* oklch */ color: oklch(36.7% 0.167 274.1);
Tailwind
colors: {
  custom: {
    50: '#7465b4',
    500: '#2a2b94',
    950: '#000000',
  },
}
SCSS
$custom: #2a2b94;
$custom-light: #7465b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2b94",
  "rgb": {
    "r": 42,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 239.434,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.16669,
    "h": 274.1
  },
  "luminance": 0.04358
}

Semantic roles & 50–950 ramp

primary
#2A2B94
secondary
#B9B960
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2A2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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