#2E2E8C#2E2E8C

#2E2E8C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.151 H 275.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2E2E8C
RGBrgb(46, 46, 140)
HSLhsl(240, 51%, 36%)
HSVhsv(240, 67%, 55%)
CMYKcmyk(67.1%, 67.1%, 0%, 45.1%)
CIE-LABlab(25.04, 31.04, -52.20)
CIE-LCHlch(25.04, 60.74, 300.74°)
OKLaboklab(36.66% 0.0156 -0.1506)
OKLCHoklch(36.66% 0.151 275.9)
XYZxyz(6.8358, 4.4277, 25.3003)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E8C #8C8C2E
analogous
#2E5D8C #2E2E8C #5D2E8C
triadic
#2E2E8C #8C2E2E #2E8C2E
tetradic
#2E2E8C #8C2E5D #8C8C2E #2E8C5D
square
#2E2E8C #8C2E5D #8C8C2E #2E8C5D
split-complementary
#2E2E8C #8C5D2E #5D8C2E
monochromatic
#101030 #1F1F5E #2E2E8C #3D3DBA #6767CD

Accessibility & contrast

On white

11.14
#2E2E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E2E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E8C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E8C#FFFFFF#000000##FFFFFF
##2E2E8C1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2e8c;
/* rgb */ color: rgb(46, 46, 140);
/* oklch */ color: oklch(36.7% 0.151 275.9);
Tailwind
colors: {
  custom: {
    50: '#7367ae',
    500: '#2e2e8c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e8c;
$custom-light: #7367ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e8c",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3666,
    "c": 0.1514,
    "h": 275.9
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#2E2E8C
secondary
#B4B462
accent
#DA4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E2E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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