#2E2F66#2E2F66

#2E2F66 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.094 H 279.2°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#2E2F66
RGBrgb(46, 47, 102)
HSLhsl(239, 38%, 29%)
HSVhsv(239, 55%, 40%)
CMYKcmyk(54.9%, 53.9%, 0%, 60%)
CIE-LABlab(22.21, 16.75, -32.66)
CIE-LCHlch(22.21, 36.70, 297.15°)
OKLaboklab(33.6% 0.0152 -0.0931)
OKLCHoklch(33.6% 0.094 279.2)
XYZxyz(4.5408, 3.5729, 13.0182)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F66 #66652E
analogous
#2E4B66 #2E2F66 #492E66
triadic
#2E2F66 #662E2F #2F662E
tetradic
#2E2F66 #662E4B #66652E #2E6649
square
#2E2F66 #662E4B #66652E #2E6649
split-complementary
#2E2F66 #66492E #4B662E
monochromatic
#0A0A15 #1B1C3C #2E2F66 #414290 #5A5BB5

Accessibility & contrast

On white

12.25
#2E2F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E2F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F66
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F66#FFFFFF#000000##FFFFFF
##2E2F661.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143768
Deuteranopia (green-blind)
#0E3365
Tritanopia (blue-blind)
#173B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2f66;
/* rgb */ color: rgb(46, 47, 102);
/* oklch */ color: oklch(33.6% 0.094 279.2);
Tailwind
colors: {
  custom: {
    50: '#6c6792',
    500: '#2e2f66',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f66;
$custom-light: #6c6792;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f66",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 238.929,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33595,
    "c": 0.09437,
    "h": 279.2
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#2E2F66
secondary
#989758
accent
#CC5ACE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E2F66

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

Preview Lab → · Contrast checker → · Palette generator →

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