#2A358C#2A358C

#2A358C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.144 H 272.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2A358C
RGBrgb(42, 53, 140)
HSLhsl(233, 54%, 36%)
HSVhsv(233, 70%, 55%)
CMYKcmyk(70%, 62.1%, 0%, 45.1%)
CIE-LABlab(26.54, 25.83, -49.76)
CIE-LCHlch(26.54, 56.07, 297.43°)
OKLaboklab(37.69% 0.0051 -0.1435)
OKLCHoklch(37.69% 0.144 272)
XYZxyz(6.9600, 4.9312, 25.3909)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A358C #8C812A
analogous
#2A668C #2A358C #502A8C
triadic
#2A358C #8C2A35 #358C2A
tetradic
#2A358C #8C2A66 #8C812A #2A8C50
square
#2A358C #8C2A66 #8C812A #2A8C50
split-complementary
#2A358C #8C502A #668C2A
monochromatic
#0E112E #1C235D #2A358C #3847BB #616DD0

Accessibility & contrast

On white

10.57
#2A358C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A358C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A358C#FFFFFF#000000##FFFFFF
##2A358C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2a358c;
/* rgb */ color: rgb(42, 53, 140);
/* oklch */ color: oklch(37.7% 0.144 272.0);
Tailwind
colors: {
  custom: {
    50: '#716cae',
    500: '#2a358c',
    950: '#000000',
  },
}
SCSS
$custom: #2a358c;
$custom-light: #716cae;
$custom-dark: #000000;
JSON
{
  "hex": "#2a358c",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 233.265,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37691,
    "c": 0.14358,
    "h": 272
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#2A358C
secondary
#B5AB5C
accent
#CD4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2A358C

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

Preview Lab → · Contrast checker → · Palette generator →

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