#2E266B#2E266B

#2E266B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.2% C 0.115 H 283.0°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2E266B
RGBrgb(46, 38, 107)
HSLhsl(247, 48%, 28%)
HSVhsv(247, 64%, 42%)
CMYKcmyk(57%, 64.5%, 0%, 58%)
CIE-LABlab(20.16, 24.67, -39.22)
CIE-LCHlch(20.16, 46.33, 302.17°)
OKLaboklab(32.2% 0.0261 -0.1125)
OKLCHoklch(32.2% 0.115 283)
XYZxyz(4.4729, 3.0283, 14.2559)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E266B #636B26
analogous
#26406B #2E266B #50266B
triadic
#2E266B #6B2E26 #266B2E
tetradic
#2E266B #6B2640 #636B26 #266B50
square
#2E266B #6B2640 #636B26 #266B50
split-complementary
#2E266B #6B5026 #406B26
monochromatic
#0A0817 #1B163E #2E266B #413698 #594CBF

Accessibility & contrast

On white

13.08
#2E266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E266B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E266B#FFFFFF#000000##FFFFFF
##2E266B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#133744
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e266b;
/* rgb */ color: rgb(46, 38, 107);
/* oklch */ color: oklch(32.2% 0.115 283.0);
Tailwind
colors: {
  custom: {
    50: '#6d6096',
    500: '#2e266b',
    950: '#000000',
  },
}
SCSS
$custom: #2e266b;
$custom-light: #6d6096;
$custom-dark: #000000;
JSON
{
  "hex": "#2e266b",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 246.957,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32197,
    "c": 0.11548,
    "h": 283
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#2E266B
secondary
#959E4F
accent
#D751C8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E266B

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

Preview Lab → · Contrast checker → · Palette generator →

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