#2E267C#2E267C

#2E267C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.140 H 280.0°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2E267C
RGBrgb(46, 38, 124)
HSLhsl(246, 53%, 32%)
HSVhsv(246, 69%, 49%)
CMYKcmyk(62.9%, 69.4%, 0%, 51.4%)
CIE-LABlab(21.66, 30.56, -47.68)
CIE-LCHlch(21.66, 56.64, 302.66°)
OKLaboklab(33.76% 0.0243 -0.1374)
OKLCHoklch(33.76% 0.14 280)
XYZxyz(5.4568, 3.4219, 19.4378)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E267C #747C26
analogous
#26497C #2E267C #59267C
triadic
#2E267C #7C2E26 #267C2E
tetradic
#2E267C #7C2649 #747C26 #267C59
square
#2E267C #7C2649 #747C26 #267C59
split-complementary
#2E267C #7C5926 #497C26
monochromatic
#0B091E #1D184D #2E267C #3F34AB #5D52CA

Accessibility & contrast

On white

12.47
#2E267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E267C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E267C#FFFFFF#000000##FFFFFF
##2E267C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e267c;
/* rgb */ color: rgb(46, 38, 124);
/* oklch */ color: oklch(33.8% 0.140 280.0);
Tailwind
colors: {
  custom: {
    50: '#7161a3',
    500: '#2e267c',
    950: '#000000',
  },
}
SCSS
$custom: #2e267c;
$custom-light: #7161a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e267c",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 245.581,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33758,
    "c": 0.1395,
    "h": 280
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#2E267C
secondary
#A5AE50
accent
#DC4BCF
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2E267C

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

Preview Lab → · Contrast checker → · Palette generator →

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