#2E279B#2E279B

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

Color values

HEX#2E279B
RGBrgb(46, 39, 155)
HSLhsl(244, 60%, 38%)
HSVhsv(244, 75%, 61%)
CMYKcmyk(70.3%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.94, 40.48, -61.60)
CIE-LCHlch(24.94, 73.71, 303.31°)
OKLaboklab(37.04% 0.0181 -0.1781)
OKLCHoklch(37.04% 0.179 275.8)
XYZxyz(7.7667, 4.3977, 31.4435)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E279B #949B27
analogous
#275A9B #2E279B #68279B
triadic
#2E279B #9B2E27 #279B2E
tetradic
#2E279B #9B275A #949B27 #279B68
square
#2E279B #9B275A #949B27 #279B68
split-complementary
#2E279B #9B6827 #5A9B27
monochromatic
#110E39 #1F1B6A #2E279B #3D33CC #6B64D8

Accessibility & contrast

On white

11.17
#2E279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E279B
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E279B#FFFFFF#000000##FFFFFF
##2E279B1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e279b;
/* rgb */ color: rgb(46, 39, 155);
/* oklch */ color: oklch(37.0% 0.179 275.8);
Tailwind
colors: {
  custom: {
    50: '#7763ba',
    500: '#2e279b',
    950: '#000000',
  },
}
SCSS
$custom: #2e279b;
$custom-light: #7763ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e279b",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 243.621,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37038,
    "c": 0.17898,
    "h": 275.8
  },
  "luminance": 0.04398
}

Semantic roles & 50–950 ramp

primary
#2E279B
secondary
#B8BE60
accent
#E345D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E279B

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

Preview Lab → · Contrast checker → · Palette generator →

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