#2E357E#2E357E

#2E357E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.122 H 274.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2E357E
RGBrgb(46, 53, 126)
HSLhsl(235, 47%, 34%)
HSVhsv(235, 63%, 49%)
CMYKcmyk(63.5%, 57.9%, 0%, 50.6%)
CIE-LABlab(25.66, 21.31, -42.43)
CIE-LCHlch(25.66, 47.48, 296.67°)
OKLaboklab(36.75% 0.0097 -0.1218)
OKLCHoklch(36.75% 0.122 274.6)
XYZxyz(6.1645, 4.6329, 20.3040)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E357E #7E772E
analogous
#2E5D7E #2E357E #4F2E7E
triadic
#2E357E #7E2E35 #357E2E
tetradic
#2E357E #7E2E5D #7E772E #2E7E4F
square
#2E357E #7E2E5D #7E772E #2E7E4F
split-complementary
#2E357E #7E4F2E #5D7E2E
monochromatic
#0D0F24 #1E2251 #2E357E #3E48AB #616AC5

Accessibility & contrast

On white

10.90
#2E357E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E357E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E357E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E357E#FFFFFF#000000##FFFFFF
##2E357E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e357e;
/* rgb */ color: rgb(46, 53, 126);
/* oklch */ color: oklch(36.8% 0.122 274.6);
Tailwind
colors: {
  custom: {
    50: '#706ca4',
    500: '#2e357e',
    950: '#000000',
  },
}
SCSS
$custom: #2e357e;
$custom-light: #706ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e357e",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 126
  },
  "hsl": {
    "h": 234.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.12222,
    "h": 274.6
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#2E357E
secondary
#ACA55C
accent
#CB52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E357E

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

Preview Lab → · Contrast checker → · Palette generator →

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