#2E279E#2E279E

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

Color values

HEX#2E279E
RGBrgb(46, 39, 158)
HSLhsl(244, 60%, 39%)
HSVhsv(244, 75%, 62%)
CMYKcmyk(70.9%, 75.3%, 0%, 38%)
CIE-LABlab(25.26, 41.48, -62.92)
CIE-LCHlch(25.26, 75.36, 303.40°)
OKLaboklab(37.35% 0.0175 -0.1819)
OKLCHoklch(37.35% 0.183 275.5)
XYZxyz(8.0218, 4.4997, 32.7869)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E279E #979E27
analogous
#275B9E #2E279E #69279E
triadic
#2E279E #9E2E27 #279E2E
tetradic
#2E279E #9E275B #979E27 #279E69
square
#2E279E #9E275B #979E27 #279E69
split-complementary
#2E279E #9E6927 #5B9E27
monochromatic
#110F3C #201B6D #2E279E #3E35CD #6D66D9

Accessibility & contrast

On white

11.05
#2E279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E279E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E279E#FFFFFF#000000##FFFFFF
##2E279E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e279e;
/* rgb */ color: rgb(46, 39, 158);
/* oklch */ color: oklch(37.4% 0.183 275.5);
Tailwind
colors: {
  custom: {
    50: '#7863bc',
    500: '#2e279e',
    950: '#000000',
  },
}
SCSS
$custom: #2e279e;
$custom-light: #7863bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e279e",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 243.529,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37355,
    "c": 0.18273,
    "h": 275.5
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#2E279E
secondary
#BABF62
accent
#E444DA
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2E279E

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

Preview Lab → · Contrast checker → · Palette generator →

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