#2E269A#2E269A

#2E269A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.179 H 276.1°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2E269A
RGBrgb(46, 38, 154)
HSLhsl(244, 60%, 38%)
HSVhsv(244, 75%, 60%)
CMYKcmyk(70.1%, 75.3%, 0%, 39.6%)
CIE-LABlab(24.64, 40.72, -61.50)
CIE-LCHlch(24.64, 73.76, 303.51°)
OKLaboklab(36.79% 0.0189 -0.1777)
OKLCHoklch(36.79% 0.179 276.1)
XYZxyz(7.6506, 4.2995, 30.9923)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E269A #929A26
analogous
#26589A #2E269A #68269A
triadic
#2E269A #9A2E26 #269A2E
tetradic
#2E269A #9A2658 #929A26 #269A68
square
#2E269A #9A2658 #929A26 #269A68
split-complementary
#2E269A #9A6826 #589A26
monochromatic
#110E38 #1F1A69 #2E269A #3D32CB #6A62D8

Accessibility & contrast

On white

11.29
#2E269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E269A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E269A#FFFFFF#000000##FFFFFF
##2E269A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e269a;
/* rgb */ color: rgb(46, 38, 154);
/* oklch */ color: oklch(36.8% 0.179 276.1);
Tailwind
colors: {
  custom: {
    50: '#7762b9',
    500: '#2e269a',
    950: '#000000',
  },
}
SCSS
$custom: #2e269a;
$custom-light: #7762b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e269a",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 244.138,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36789,
    "c": 0.17874,
    "h": 276.1
  },
  "luminance": 0.043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E269A

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

Preview Lab → · Contrast checker → · Palette generator →

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