#2A358F#2A358F

#2A358F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.148 H 271.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2A358F
RGBrgb(42, 53, 143)
HSLhsl(233, 55%, 36%)
HSVhsv(233, 71%, 56%)
CMYKcmyk(70.6%, 62.9%, 0%, 43.9%)
CIE-LABlab(26.79, 26.95, -51.20)
CIE-LCHlch(26.79, 57.86, 297.76°)
OKLaboklab(37.96% 0.005 -0.1477)
OKLCHoklch(37.96% 0.148 271.9)
XYZxyz(7.1842, 5.0209, 26.5718)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A358F #8F842A
analogous
#2A688F #2A358F #522A8F
triadic
#2A358F #8F2A35 #358F2A
tetradic
#2A358F #8F2A68 #8F842A #2A8F52
square
#2A358F #8F2A68 #8F842A #2A8F52
split-complementary
#2A358F #8F522A #688F2A
monochromatic
#0E1230 #1C2360 #2A358F #3847BE #626ED1

Accessibility & contrast

On white

10.48
#2A358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A358F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A358F#FFFFFF#000000##FFFFFF
##2A358F1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a358f;
/* rgb */ color: rgb(42, 53, 143);
/* oklch */ color: oklch(38.0% 0.148 271.9);
Tailwind
colors: {
  custom: {
    50: '#726cb1',
    500: '#2a358f',
    950: '#000000',
  },
}
SCSS
$custom: #2a358f;
$custom-light: #726cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a358f",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 233.465,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.3796,
    "c": 0.14779,
    "h": 271.9
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#2A358F
secondary
#B7AD5E
accent
#CE4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2A358F

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

Preview Lab → · Contrast checker → · Palette generator →

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