#2E266D#2E266D

#2E266D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.4% C 0.118 H 282.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2E266D
RGBrgb(46, 38, 109)
HSLhsl(247, 48%, 29%)
HSVhsv(247, 65%, 43%)
CMYKcmyk(57.8%, 65.1%, 0%, 57.3%)
CIE-LABlab(20.33, 25.36, -40.24)
CIE-LCHlch(20.33, 47.57, 302.22°)
OKLaboklab(32.37% 0.0259 -0.1155)
OKLCHoklch(32.37% 0.118 282.6)
XYZxyz(4.5793, 3.0709, 14.8165)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E266D #656D26
analogous
#26426D #2E266D #52266D
triadic
#2E266D #6D2E26 #266D2E
tetradic
#2E266D #6D2642 #656D26 #266D52
square
#2E266D #6D2642 #656D26 #266D52
split-complementary
#2E266D #6D5226 #426D26
monochromatic
#0A0817 #1B1640 #2E266D #41369A #5A4DC1

Accessibility & contrast

On white

13.01
#2E266D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E266D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E266D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E266D#FFFFFF#000000##FFFFFF
##2E266D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#113745
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e266d;
/* rgb */ color: rgb(46, 38, 109);
/* oklch */ color: oklch(32.4% 0.118 282.6);
Tailwind
colors: {
  custom: {
    50: '#6e6197',
    500: '#2e266d',
    950: '#000000',
  },
}
SCSS
$custom: #2e266d;
$custom-light: #6e6197;
$custom-dark: #000000;
JSON
{
  "hex": "#2e266d",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 109
  },
  "hsl": {
    "h": 246.761,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.11838,
    "h": 282.6
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#2E266D
secondary
#97A04F
accent
#D850C9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E266D

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

Preview Lab → · Contrast checker → · Palette generator →

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