#2E269F#2E269F

#2E269F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.185 H 275.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2E269F
RGBrgb(46, 38, 159)
HSLhsl(244, 61%, 39%)
HSVhsv(244, 76%, 62%)
CMYKcmyk(71.1%, 76.1%, 0%, 37.6%)
CIE-LABlab(25.17, 42.37, -63.68)
CIE-LCHlch(25.17, 76.49, 303.64°)
OKLaboklab(37.32% 0.0178 -0.1841)
OKLCHoklch(37.32% 0.185 275.5)
XYZxyz(8.0758, 4.4695, 33.2313)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E269F #979F26
analogous
#265A9F #2E269F #6A269F
triadic
#2E269F #9F2E26 #269F2E
tetradic
#2E269F #9F265A #979F26 #269F6A
square
#2E269F #9F265A #979F26 #269F6A
split-complementary
#2E269F #9F6A26 #5A9F26
monochromatic
#110E3C #201A6E #2E269F #3E34CE #6D65DA

Accessibility & contrast

On white

11.09
#2E269F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E269F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E269F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E269F#FFFFFF#000000##FFFFFF
##2E269F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e269f;
/* rgb */ color: rgb(46, 38, 159);
/* oklch */ color: oklch(37.3% 0.185 275.5);
Tailwind
colors: {
  custom: {
    50: '#7862bd',
    500: '#2e269f',
    950: '#000000',
  },
}
SCSS
$custom: #2e269f;
$custom-light: #7862bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e269f",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 159
  },
  "hsl": {
    "h": 243.967,
    "s": 61.421,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37321,
    "c": 0.18496,
    "h": 275.5
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#2E269F
secondary
#BAC061
accent
#E543DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E269F

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

Preview Lab → · Contrast checker → · Palette generator →

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