#2E279D#2E279D

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

Color values

HEX#2E279D
RGBrgb(46, 39, 157)
HSLhsl(244, 60%, 38%)
HSVhsv(244, 75%, 62%)
CMYKcmyk(70.7%, 75.2%, 0%, 38.4%)
CIE-LABlab(25.15, 41.15, -62.48)
CIE-LCHlch(25.15, 74.81, 303.37°)
OKLaboklab(37.25% 0.0177 -0.1806)
OKLCHoklch(37.25% 0.181 275.6)
XYZxyz(7.9360, 4.4655, 32.3354)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E279D #969D27
analogous
#275B9D #2E279D #69279D
triadic
#2E279D #9D2E27 #279D2E
tetradic
#2E279D #9D275B #969D27 #279D69
square
#2E279D #9D275B #969D27 #279D69
split-complementary
#2E279D #9D6927 #5B9D27
monochromatic
#110F3B #201B6C #2E279D #3E35CD #6C66D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E279D#FFFFFF#000000##FFFFFF
##2E279D1.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)
#0041A0
Deuteranopia (green-blind)
#00369B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e279d;
/* rgb */ color: rgb(46, 39, 157);
/* oklch */ color: oklch(37.2% 0.181 275.6);
Tailwind
colors: {
  custom: {
    50: '#7863bb',
    500: '#2e279d',
    950: '#000000',
  },
}
SCSS
$custom: #2e279d;
$custom-light: #7863bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e279d",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 243.559,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37249,
    "c": 0.18149,
    "h": 275.6
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#2E279D
secondary
#B9BF61
accent
#E344DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E279D

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

Preview Lab → · Contrast checker → · Palette generator →

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