#2E269C#2E269C

#2E269C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.181 H 275.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2E269C
RGBrgb(46, 38, 156)
HSLhsl(244, 61%, 38%)
HSVhsv(244, 76%, 61%)
CMYKcmyk(70.5%, 75.6%, 0%, 38.8%)
CIE-LABlab(24.85, 41.38, -62.37)
CIE-LCHlch(24.85, 74.85, 303.56°)
OKLaboklab(37% 0.0185 -0.1803)
OKLCHoklch(37% 0.181 275.9)
XYZxyz(7.8186, 4.3666, 31.8768)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E269C #949C26
analogous
#26599C #2E269C #69269C
triadic
#2E269C #9C2E26 #269C2E
tetradic
#2E269C #9C2659 #949C26 #269C69
square
#2E269C #9C2659 #949C26 #269C69
split-complementary
#2E269C #9C6926 #599C26
monochromatic
#110E3A #1F1A6B #2E269C #3D32CD #6B63D9

Accessibility & contrast

On white

11.21
#2E269C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E269C
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E269C#FFFFFF#000000##FFFFFF
##2E269C1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e269c;
/* rgb */ color: rgb(46, 38, 156);
/* oklch */ color: oklch(37.0% 0.181 275.9);
Tailwind
colors: {
  custom: {
    50: '#7862ba',
    500: '#2e269c',
    950: '#000000',
  },
}
SCSS
$custom: #2e269c;
$custom-light: #7862ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e269c",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 156
  },
  "hsl": {
    "h": 244.068,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.18124,
    "h": 275.9
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E269C

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

Preview Lab → · Contrast checker → · Palette generator →

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