#2E2A62#2E2A62

#2E2A62 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.2% C 0.096 H 282.8°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#2E2A62
RGBrgb(46, 42, 98)
HSLhsl(244, 40%, 27%)
HSVhsv(244, 57%, 38%)
CMYKcmyk(53.1%, 57.1%, 0%, 61.6%)
CIE-LABlab(20.51, 18.81, -32.77)
CIE-LCHlch(20.51, 37.78, 299.86°)
OKLaboklab(32.23% 0.0213 -0.0935)
OKLCHoklch(32.23% 0.096 282.8)
XYZxyz(4.1586, 3.1184, 11.9357)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A62 #5E622A
analogous
#2A4262 #2E2A62 #4A2A62
triadic
#2E2A62 #622E2A #2A622E
tetradic
#2E2A62 #622A42 #5E622A #2A624A
square
#2E2A62 #622A42 #5E622A #2A624A
split-complementary
#2E2A62 #624A2A #42622A
monochromatic
#0A0915 #1A1837 #2E2A62 #423C8D #5952B5

Accessibility & contrast

On white

12.93
#2E2A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E2A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A62
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A62#FFFFFF#000000##FFFFFF
##2E2A621.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3364
Deuteranopia (green-blind)
#073061
Tritanopia (blue-blind)
#1B3641
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2a62;
/* rgb */ color: rgb(46, 42, 98);
/* oklch */ color: oklch(32.2% 0.096 282.8);
Tailwind
colors: {
  custom: {
    50: '#6b638f',
    500: '#2e2a62',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a62;
$custom-light: #6b638f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a62",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 98
  },
  "hsl": {
    "h": 244.286,
    "s": 40,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32234,
    "c": 0.09589,
    "h": 282.8
  },
  "luminance": 0.03119
}

Semantic roles & 50–950 ramp

primary
#2E2A62
secondary
#909453
accent
#D058C7
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E2A62

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

Preview Lab → · Contrast checker → · Palette generator →

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