#2A357D#2A357D

#2A357D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.4% C 0.122 H 272.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2A357D
RGBrgb(42, 53, 125)
HSLhsl(232, 50%, 33%)
HSVhsv(232, 66%, 49%)
CMYKcmyk(66.4%, 57.6%, 0%, 51%)
CIE-LABlab(25.32, 20.20, -42.37)
CIE-LCHlch(25.32, 46.94, 295.49°)
OKLaboklab(36.4% 0.0049 -0.1218)
OKLCHoklch(36.4% 0.122 272.3)
XYZxyz(5.9284, 4.5186, 19.9578)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A357D #7D722A
analogous
#2A5F7D #2A357D #482A7D
triadic
#2A357D #7D2A35 #357D2A
tetradic
#2A357D #7D2A5F #7D722A #2A7D48
square
#2A357D #7D2A5F #7D722A #2A7D48
split-complementary
#2A357D #7D482A #5F7D2A
monochromatic
#0B0E21 #1B224F #2A357D #3948AB #5A68C8

Accessibility & contrast

On white

11.03
#2A357D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2A357D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A357D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A357D#FFFFFF#000000##FFFFFF
##2A357D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a357d;
/* rgb */ color: rgb(42, 53, 125);
/* oklch */ color: oklch(36.4% 0.122 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ca3',
    500: '#2a357d',
    950: '#000000',
  },
}
SCSS
$custom: #2a357d;
$custom-light: #6e6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2a357d",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 125
  },
  "hsl": {
    "h": 232.048,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36399,
    "c": 0.12187,
    "h": 272.3
  },
  "luminance": 0.04519
}

Semantic roles & 50–950 ramp

primary
#2A357D
secondary
#ADA256
accent
#C74FD9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #2A357D

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

Preview Lab → · Contrast checker → · Palette generator →

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