#2E2E62#2E2E62

#2E2E62 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.1% C 0.090 H 280.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2E62
RGBrgb(46, 46, 98)
HSLhsl(240, 36%, 28%)
HSVhsv(240, 53%, 38%)
CMYKcmyk(53.1%, 53.1%, 0%, 61.6%)
CIE-LABlab(21.64, 16.03, -30.95)
CIE-LCHlch(21.64, 34.86, 297.37°)
OKLaboklab(33.08% 0.0161 -0.0882)
OKLCHoklch(33.08% 0.09 280.3)
XYZxyz(4.3076, 3.4164, 11.9854)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E62 #62622E
analogous
#2E4862 #2E2E62 #482E62
triadic
#2E2E62 #622E2E #2E622E
tetradic
#2E2E62 #622E48 #62622E #2E6248
square
#2E2E62 #622E48 #62622E #2E6248
split-complementary
#2E2E62 #62482E #48622E
monochromatic
#0A0A15 #1A1A38 #2E2E62 #42428C #5959B1

Accessibility & contrast

On white

12.47
#2E2E62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2E62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E62
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E62#FFFFFF#000000##FFFFFF
##2E2E621.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163664
Deuteranopia (green-blind)
#113261
Tritanopia (blue-blind)
#1A3943
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2e62;
/* rgb */ color: rgb(46, 46, 98);
/* oklch */ color: oklch(33.1% 0.090 280.3);
Tailwind
colors: {
  custom: {
    50: '#6b668f',
    500: '#2e2e62',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e62;
$custom-light: #6b668f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e62",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 98
  },
  "hsl": {
    "h": 240,
    "s": 36.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.33079,
    "c": 0.0896,
    "h": 280.3
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#2E2E62
secondary
#949458
accent
#CC5CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E2E62

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

Preview Lab → · Contrast checker → · Palette generator →

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