#2A2D93#2A2D93

#2A2D93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.163 H 273.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2A2D93
RGBrgb(42, 45, 147)
HSLhsl(238, 56%, 37%)
HSVhsv(238, 71%, 58%)
CMYKcmyk(71.4%, 69.4%, 0%, 42.4%)
CIE-LABlab(25.18, 33.63, -56.31)
CIE-LCHlch(25.18, 65.59, 300.85°)
OKLaboklab(36.9% 0.0106 -0.1627)
OKLCHoklch(36.9% 0.163 273.7)
XYZxyz(7.1579, 4.4749, 28.0846)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D93 #93902A
analogous
#2A6193 #2A2D93 #5C2A93
triadic
#2A2D93 #932A2D #2D932A
tetradic
#2A2D93 #932A61 #93902A #2A935C
square
#2A2D93 #932A61 #93902A #2A935C
split-complementary
#2A2D93 #935C2A #61932A
monochromatic
#0F1034 #1C1E63 #2A2D93 #383CC3 #6568D3

Accessibility & contrast

On white

11.08
#2A2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2D93
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D93#FFFFFF#000000##FFFFFF
##2A2D931.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a2d93;
/* rgb */ color: rgb(42, 45, 147);
/* oklch */ color: oklch(36.9% 0.163 273.7);
Tailwind
colors: {
  custom: {
    50: '#7366b4',
    500: '#2a2d93',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d93;
$custom-light: #7366b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d93",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 238.286,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.16307,
    "h": 273.7
  },
  "luminance": 0.04476
}

Semantic roles & 50–950 ramp

primary
#2A2D93
secondary
#B9B660
accent
#DB49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2A2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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