#2A358D#2A358D

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

Color values

HEX#2A358D
RGBrgb(42, 53, 141)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(70.2%, 62.4%, 0%, 44.7%)
CIE-LABlab(26.62, 26.20, -50.24)
CIE-LCHlch(26.62, 56.66, 297.54°)
OKLaboklab(37.78% 0.0051 -0.1449)
OKLCHoklch(37.78% 0.145 272)
XYZxyz(7.0340, 4.9609, 25.7810)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A358D #8D822A
analogous
#2A668D #2A358D #502A8D
triadic
#2A358D #8D2A35 #358D2A
tetradic
#2A358D #8D2A66 #8D822A #2A8D50
square
#2A358D #8D2A66 #8D822A #2A8D50
split-complementary
#2A358D #8D502A #668D2A
monochromatic
#0E122F #1C235E #2A358D #3847BC #616ED0

Accessibility & contrast

On white

10.54
#2A358D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2A358D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A358D
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A358D#FFFFFF#000000##FFFFFF
##2A358D1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a358d;
/* rgb */ color: rgb(42, 53, 141);
/* oklch */ color: oklch(37.8% 0.145 272.0);
Tailwind
colors: {
  custom: {
    50: '#716caf',
    500: '#2a358d',
    950: '#000000',
  },
}
SCSS
$custom: #2a358d;
$custom-light: #716caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a358d",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 141
  },
  "hsl": {
    "h": 233.333,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3778,
    "c": 0.14499,
    "h": 272
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2A358D
secondary
#B6AC5D
accent
#CD4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A358D

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

Preview Lab → · Contrast checker → · Palette generator →

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