#2E269D#2E269D

#2E269D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.182 H 275.7°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2E269D
RGBrgb(46, 38, 157)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(70.7%, 75.8%, 0%, 38.4%)
CIE-LABlab(24.95, 41.71, -62.81)
CIE-LCHlch(24.95, 75.40, 303.59°)
OKLaboklab(37.11% 0.0183 -0.1816)
OKLCHoklch(37.11% 0.182 275.7)
XYZxyz(7.9036, 4.4007, 32.3246)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E269D #959D26
analogous
#26599D #2E269D #6A269D
triadic
#2E269D #9D2E26 #269D2E
tetradic
#2E269D #9D2659 #959D26 #269D6A
square
#2E269D #9D2659 #959D26 #269D6A
split-complementary
#2E269D #9D6A26 #599D26
monochromatic
#110E3A #201A6C #2E269D #3D33CE #6C64D9

Accessibility & contrast

On white

11.17
#2E269D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E269D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E269D
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E269D#FFFFFF#000000##FFFFFF
##2E269D1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e269d;
/* rgb */ color: rgb(46, 38, 157);
/* oklch */ color: oklch(37.1% 0.182 275.7);
Tailwind
colors: {
  custom: {
    50: '#7862bb',
    500: '#2e269d',
    950: '#000000',
  },
}
SCSS
$custom: #2e269d;
$custom-light: #7862bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e269d",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 157
  },
  "hsl": {
    "h": 244.034,
    "s": 61.026,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.18249,
    "h": 275.7
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#2E269D
secondary
#B9BF60
accent
#E444D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E269D

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

Preview Lab → · Contrast checker → · Palette generator →

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