#2E266A#2E266A

#2E266A is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.114 H 283.2°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#2E266A
RGBrgb(46, 38, 106)
HSLhsl(247, 47%, 28%)
HSVhsv(247, 64%, 42%)
CMYKcmyk(56.6%, 64.2%, 0%, 58.4%)
CIE-LABlab(20.07, 24.32, -38.70)
CIE-LCHlch(20.07, 45.71, 302.15°)
OKLaboklab(32.11% 0.0261 -0.111)
OKLCHoklch(32.11% 0.114 283.2)
XYZxyz(4.4206, 3.0074, 13.9804)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E266A #626A26
analogous
#26406A #2E266A #50266A
triadic
#2E266A #6A2E26 #266A2E
tetradic
#2E266A #6A2640 #626A26 #266A50
square
#2E266A #6A2640 #626A26 #266A50
split-complementary
#2E266A #6A5026 #406A26
monochromatic
#0A0817 #1A163D #2E266A #423697 #594CBF

Accessibility & contrast

On white

13.11
#2E266A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E266A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E266A
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E266A#FFFFFF#000000##FFFFFF
##2E266A1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#143644
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e266a;
/* rgb */ color: rgb(46, 38, 106);
/* oklch */ color: oklch(32.1% 0.114 283.2);
Tailwind
colors: {
  custom: {
    50: '#6d6095',
    500: '#2e266a',
    950: '#000000',
  },
}
SCSS
$custom: #2e266a;
$custom-light: #6d6095;
$custom-dark: #000000;
JSON
{
  "hex": "#2e266a",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 106
  },
  "hsl": {
    "h": 247.059,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32109,
    "c": 0.11402,
    "h": 283.2
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#2E266A
secondary
#949D4F
accent
#D751C7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #2E266A

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

Preview Lab → · Contrast checker → · Palette generator →

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