#2E269B#2E269B

#2E269B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.180 H 276.0°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2E269B
RGBrgb(46, 38, 155)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 75%, 61%)
CMYKcmyk(70.3%, 75.5%, 0%, 39.2%)
CIE-LABlab(24.74, 41.05, -61.94)
CIE-LCHlch(24.74, 74.31, 303.54°)
OKLaboklab(36.9% 0.0187 -0.179)
OKLCHoklch(36.9% 0.18 276)
XYZxyz(7.7343, 4.3329, 31.4327)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E269B #939B26
analogous
#26589B #2E269B #69269B
triadic
#2E269B #9B2E26 #269B2E
tetradic
#2E269B #9B2658 #939B26 #269B69
square
#2E269B #9B2658 #939B26 #269B69
split-complementary
#2E269B #9B6926 #589B26
monochromatic
#110E39 #1F1A6A #2E269B #3D32CC #6B63D9

Accessibility & contrast

On white

11.25
#2E269B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E269B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E269B
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E269B#FFFFFF#000000##FFFFFF
##2E269B1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e269b;
/* rgb */ color: rgb(46, 38, 155);
/* oklch */ color: oklch(36.9% 0.180 276.0);
Tailwind
colors: {
  custom: {
    50: '#7762ba',
    500: '#2e269b',
    950: '#000000',
  },
}
SCSS
$custom: #2e269b;
$custom-light: #7762ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e269b",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 155
  },
  "hsl": {
    "h": 244.103,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.17999,
    "h": 276
  },
  "luminance": 0.04334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E269B

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

Preview Lab → · Contrast checker → · Palette generator →

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