#2E267D#2E267D

#2E267D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.141 H 279.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#2E267D
RGBrgb(46, 38, 125)
HSLhsl(246, 53%, 32%)
HSVhsv(246, 70%, 49%)
CMYKcmyk(63.2%, 69.6%, 0%, 51%)
CIE-LABlab(21.75, 30.90, -48.17)
CIE-LCHlch(21.75, 57.23, 302.69°)
OKLaboklab(33.85% 0.0242 -0.1388)
OKLCHoklch(33.85% 0.141 279.9)
XYZxyz(5.5203, 3.4473, 19.7726)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E267D #757D26
analogous
#264A7D #2E267D #5A267D
triadic
#2E267D #7D2E26 #267D2E
tetradic
#2E267D #7D264A #757D26 #267D5A
square
#2E267D #7D264A #757D26 #267D5A
split-complementary
#2E267D #7D5A26 #4A7D26
monochromatic
#0B091F #1D184E #2E267D #3F34AC #5E53CB

Accessibility & contrast

On white

12.43
#2E267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E267D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E267D#FFFFFF#000000##FFFFFF
##2E267D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e267d;
/* rgb */ color: rgb(46, 38, 125);
/* oklch */ color: oklch(33.9% 0.141 279.9);
Tailwind
colors: {
  custom: {
    50: '#7161a3',
    500: '#2e267d',
    950: '#000000',
  },
}
SCSS
$custom: #2e267d;
$custom-light: #7161a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e267d",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 245.517,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33853,
    "c": 0.14087,
    "h": 279.9
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#2E267D
secondary
#A6AF50
accent
#DD4BCF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E267D

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

Preview Lab → · Contrast checker → · Palette generator →

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