#2E338C#2E338C

#2E338C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.145 H 274.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2E338C
RGBrgb(46, 51, 140)
HSLhsl(237, 51%, 36%)
HSVhsv(237, 67%, 55%)
CMYKcmyk(67.1%, 63.6%, 0%, 45.1%)
CIE-LABlab(26.28, 27.78, -50.18)
CIE-LCHlch(26.28, 57.35, 298.97°)
OKLaboklab(37.57% 0.0115 -0.1446)
OKLCHoklch(37.57% 0.145 274.5)
XYZxyz(7.0426, 4.8413, 25.3692)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E338C #8C872E
analogous
#2E628C #2E338C #582E8C
triadic
#2E338C #8C2E33 #338C2E
tetradic
#2E338C #8C2E62 #8C872E #2E8C58
square
#2E338C #8C2E62 #8C872E #2E8C58
split-complementary
#2E338C #8C582E #628C2E
monochromatic
#101130 #1F225E #2E338C #3D44BA #676DCD

Accessibility & contrast

On white

10.67
#2E338C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E338C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E338C
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E338C#FFFFFF#000000##FFFFFF
##2E338C1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e338c;
/* rgb */ color: rgb(46, 51, 140);
/* oklch */ color: oklch(37.6% 0.145 274.5);
Tailwind
colors: {
  custom: {
    50: '#736aae',
    500: '#2e338c',
    950: '#000000',
  },
}
SCSS
$custom: #2e338c;
$custom-light: #736aae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e338c",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 140
  },
  "hsl": {
    "h": 236.809,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37567,
    "c": 0.14507,
    "h": 274.5
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#2E338C
secondary
#B4B062
accent
#D34EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E338C

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

Preview Lab → · Contrast checker → · Palette generator →

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