#2E338E#2E338E

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

Color values

HEX#2E338E
RGBrgb(46, 51, 142)
HSLhsl(237, 51%, 37%)
HSVhsv(237, 68%, 56%)
CMYKcmyk(67.6%, 64.1%, 0%, 44.3%)
CIE-LABlab(26.45, 28.50, -51.13)
CIE-LCHlch(26.45, 58.54, 299.13°)
OKLaboklab(37.75% 0.0114 -0.1474)
OKLCHoklch(37.75% 0.148 274.4)
XYZxyz(7.1914, 4.9009, 26.1529)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E338E #8E892E
analogous
#2E638E #2E338E #592E8E
triadic
#2E338E #8E2E33 #338E2E
tetradic
#2E338E #8E2E63 #8E892E #2E8E59
square
#2E338E #8E2E63 #8E892E #2E8E59
split-complementary
#2E338E #8E592E #638E2E
monochromatic
#101232 #1F2260 #2E338E #3D44BC #686ECE

Accessibility & contrast

On white

10.60
#2E338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2E338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E338E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E338E#FFFFFF#000000##FFFFFF
##2E338E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e338e;
/* rgb */ color: rgb(46, 51, 142);
/* oklch */ color: oklch(37.7% 0.148 274.4);
Tailwind
colors: {
  custom: {
    50: '#736bb0',
    500: '#2e338e',
    950: '#000000',
  },
}
SCSS
$custom: #2e338e;
$custom-light: #736bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e338e",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 236.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37748,
    "c": 0.14787,
    "h": 274.4
  },
  "luminance": 0.04901
}

Semantic roles & 50–950 ramp

primary
#2E338E
secondary
#B5B163
accent
#D34DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E338E

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

Preview Lab → · Contrast checker → · Palette generator →

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