#2A358B#2A358B

#2A358B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.142 H 272.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2A358B
RGBrgb(42, 53, 139)
HSLhsl(233, 54%, 35%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(69.8%, 61.9%, 0%, 45.5%)
CIE-LABlab(26.45, 25.46, -49.28)
CIE-LCHlch(26.45, 55.47, 297.32°)
OKLaboklab(37.6% 0.0051 -0.1421)
OKLCHoklch(37.6% 0.142 272.1)
XYZxyz(6.8866, 4.9019, 25.0043)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A358B #8B802A
analogous
#2A658B #2A358B #4F2A8B
triadic
#2A358B #8B2A35 #358B2A
tetradic
#2A358B #8B2A65 #8B802A #2A8B4F
square
#2A358B #8B2A65 #8B802A #2A8B4F
split-complementary
#2A358B #8B4F2A #658B2A
monochromatic
#0E112D #1C235C #2A358B #3847BA #606DCF

Accessibility & contrast

On white

10.60
#2A358B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2A358B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A358B
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A358B#FFFFFF#000000##FFFFFF
##2A358B1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a358b;
/* rgb */ color: rgb(42, 53, 139);
/* oklch */ color: oklch(37.6% 0.142 272.1);
Tailwind
colors: {
  custom: {
    50: '#716cae',
    500: '#2a358b',
    950: '#000000',
  },
}
SCSS
$custom: #2a358b;
$custom-light: #716cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a358b",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 139
  },
  "hsl": {
    "h": 233.196,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37602,
    "c": 0.14216,
    "h": 272.1
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#2A358B
secondary
#B5AB5C
accent
#CC4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2A358B

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

Preview Lab → · Contrast checker → · Palette generator →

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