#2E279F#2E279F

#2E279F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.184 H 275.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2E279F
RGBrgb(46, 39, 159)
HSLhsl(244, 61%, 39%)
HSVhsv(244, 75%, 62%)
CMYKcmyk(71.1%, 75.5%, 0%, 37.6%)
CIE-LABlab(25.36, 41.81, -63.35)
CIE-LCHlch(25.36, 75.91, 303.42°)
OKLaboklab(37.46% 0.0173 -0.1832)
OKLCHoklch(37.46% 0.184 275.4)
XYZxyz(8.1082, 4.5343, 33.2421)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E279F #989F27
analogous
#275C9F #2E279F #6A279F
triadic
#2E279F #9F2E27 #279F2E
tetradic
#2E279F #9F275C #989F27 #279F6A
square
#2E279F #9F275C #989F27 #279F6A
split-complementary
#2E279F #9F6A27 #5C9F27
monochromatic
#120F3D #201B6E #2E279F #3E36CE #6D67DA

Accessibility & contrast

On white

11.01
#2E279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E279F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E279F#FFFFFF#000000##FFFFFF
##2E279F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e279f;
/* rgb */ color: rgb(46, 39, 159);
/* oklch */ color: oklch(37.5% 0.184 275.4);
Tailwind
colors: {
  custom: {
    50: '#7863bd',
    500: '#2e279f',
    950: '#000000',
  },
}
SCSS
$custom: #2e279f;
$custom-light: #7863bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e279f",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 243.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37461,
    "c": 0.18398,
    "h": 275.4
  },
  "luminance": 0.04535
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E279F

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

Preview Lab → · Contrast checker → · Palette generator →

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