#2E279A#2E279A

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

Color values

HEX#2E279A
RGBrgb(46, 39, 154)
HSLhsl(244, 60%, 38%)
HSVhsv(244, 75%, 60%)
CMYKcmyk(70.1%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.84, 40.15, -61.16)
CIE-LCHlch(24.84, 73.16, 303.28°)
OKLaboklab(36.93% 0.0183 -0.1768)
OKLCHoklch(36.93% 0.178 275.9)
XYZxyz(7.6831, 4.3643, 31.0031)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E279A #939A27
analogous
#275A9A #2E279A #67279A
triadic
#2E279A #9A2E27 #279A2E
tetradic
#2E279A #9A275A #939A27 #279A67
square
#2E279A #9A275A #939A27 #279A67
split-complementary
#2E279A #9A6727 #5A9A27
monochromatic
#110E38 #1F1B69 #2E279A #3D33CB #6B64D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E279A#FFFFFF#000000##FFFFFF
##2E279A1.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)
#00409D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e279a;
/* rgb */ color: rgb(46, 39, 154);
/* oklch */ color: oklch(36.9% 0.178 275.9);
Tailwind
colors: {
  custom: {
    50: '#7763b9',
    500: '#2e279a',
    950: '#000000',
  },
}
SCSS
$custom: #2e279a;
$custom-light: #7763b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e279a",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 243.652,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36933,
    "c": 0.17772,
    "h": 275.9
  },
  "luminance": 0.04365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E279A

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

Preview Lab → · Contrast checker → · Palette generator →

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