#2A357E#2A357E

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

Color values

HEX#2A357E
RGBrgb(42, 53, 126)
HSLhsl(232, 50%, 33%)
HSVhsv(232, 67%, 49%)
CMYKcmyk(66.7%, 57.9%, 0%, 50.6%)
CIE-LABlab(25.39, 20.58, -42.88)
CIE-LCHlch(25.39, 47.56, 295.64°)
OKLaboklab(36.48% 0.005 -0.1232)
OKLCHoklch(36.48% 0.123 272.3)
XYZxyz(5.9926, 4.5443, 20.2960)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A357E #7E732A
analogous
#2A5F7E #2A357E #492A7E
triadic
#2A357E #7E2A35 #357E2A
tetradic
#2A357E #7E2A5F #7E732A #2A7E49
square
#2A357E #7E2A5F #7E732A #2A7E49
split-complementary
#2A357E #7E492A #5F7E2A
monochromatic
#0B0E22 #1B2250 #2A357E #3948AC #5A69C8

Accessibility & contrast

On white

11.00
#2A357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2A357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A357E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A357E#FFFFFF#000000##FFFFFF
##2A357E1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2a357e;
/* rgb */ color: rgb(42, 53, 126);
/* oklch */ color: oklch(36.5% 0.123 272.3);
Tailwind
colors: {
  custom: {
    50: '#6e6ca4',
    500: '#2a357e',
    950: '#000000',
  },
}
SCSS
$custom: #2a357e;
$custom-light: #6e6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a357e",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 232.143,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.12335,
    "h": 272.3
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#2A357E
secondary
#AEA256
accent
#C74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2A357E

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

Preview Lab → · Contrast checker → · Palette generator →

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