#2A358E#2A358E

#2A358E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.146 H 272.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2A358E
RGBrgb(42, 53, 142)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 56%)
CMYKcmyk(70.4%, 62.7%, 0%, 44.3%)
CIE-LABlab(26.71, 26.57, -50.72)
CIE-LCHlch(26.71, 57.26, 297.65°)
OKLaboklab(37.87% 0.005 -0.1463)
OKLCHoklch(37.87% 0.146 272)
XYZxyz(7.1088, 4.9908, 26.1746)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A358E #8E832A
analogous
#2A678E #2A358E #512A8E
triadic
#2A358E #8E2A35 #358E2A
tetradic
#2A358E #8E2A67 #8E832A #2A8E51
square
#2A358E #8E2A67 #8E832A #2A8E51
split-complementary
#2A358E #8E512A #678E2A
monochromatic
#0E1230 #1C235F #2A358E #3847BD #626ED1

Accessibility & contrast

On white

10.51
#2A358E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2A358E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A358E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A358E#FFFFFF#000000##FFFFFF
##2A358E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a358e;
/* rgb */ color: rgb(42, 53, 142);
/* oklch */ color: oklch(37.9% 0.146 272.0);
Tailwind
colors: {
  custom: {
    50: '#716cb0',
    500: '#2a358e',
    950: '#000000',
  },
}
SCSS
$custom: #2a358e;
$custom-light: #716cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a358e",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 142
  },
  "hsl": {
    "h": 233.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3787,
    "c": 0.1464,
    "h": 272
  },
  "luminance": 0.04991
}

Semantic roles & 50–950 ramp

primary
#2A358E
secondary
#B6AD5D
accent
#CD4ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A358E

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

Preview Lab → · Contrast checker → · Palette generator →

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