#2E34CA#2E34CA

#2E34CA is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.224 H 270.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2E34CA
RGBrgb(46, 52, 202)
HSLhsl(238, 63%, 49%)
HSVhsv(238, 77%, 79%)
CMYKcmyk(77.2%, 74.3%, 0%, 20.8%)
CIE-LABlab(32.48, 48.73, -77.21)
CIE-LCHlch(32.48, 91.31, 302.26°)
OKLaboklab(43.85% 0.0035 -0.2236)
OKLCHoklch(43.85% 0.224 270.9)
XYZxyz(13.0118, 7.2997, 56.5889)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E34CA #CAC42E
analogous
#2E82CA #2E34CA #762ECA
triadic
#2E34CA #CA2E34 #34CA2E
tetradic
#2E34CA #CA2E82 #CAC42E #2ECA76
square
#2E34CA #CA2E82 #CAC42E #2ECA76
split-complementary
#2E34CA #CA762E #82CA2E
monochromatic
#171A66 #232798 #2E34CA #5B60DA #8D91E5

Accessibility & contrast

On white

8.54
#2E34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E34CA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E34CA#FFFFFF#000000##FFFFFF
##2E34CA1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CE
Deuteranopia (green-blind)
#0045C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e34ca;
/* rgb */ color: rgb(46, 52, 202);
/* oklch */ color: oklch(43.9% 0.224 270.9);
Tailwind
colors: {
  custom: {
    50: '#816ddc',
    500: '#2e34ca',
    950: '#000000',
  },
}
SCSS
$custom: #2e34ca;
$custom-light: #816ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e34ca",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 237.692,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.4385,
    "c": 0.22362,
    "h": 270.9
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#2E34CA
secondary
#CFCC84
accent
#E042E6
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #2E34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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