#2E265B#2E265B

#2E265B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.9% C 0.091 H 286.7°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#2E265B
RGBrgb(46, 38, 91)
HSLhsl(249, 41%, 25%)
HSVhsv(249, 58%, 36%)
CMYKcmyk(49.5%, 58.2%, 0%, 64.3%)
CIE-LABlab(18.90, 19.16, -30.74)
CIE-LCHlch(18.90, 36.23, 301.93°)
OKLaboklab(30.87% 0.0262 -0.0876)
OKLCHoklch(30.87% 0.091 286.7)
XYZxyz(3.7076, 2.7222, 10.2256)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E265B #535B26
analogous
#26385B #2E265B #48265B
triadic
#2E265B #5B2E26 #265B2E
tetradic
#2E265B #5B2638 #535B26 #265B48
square
#2E265B #5B2638 #535B26 #265B48
split-complementary
#2E265B #5B4826 #385B26
monochromatic
#0B0916 #181430 #2E265B #443886 #5A4AB1

Accessibility & contrast

On white

13.60
#2E265B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#2E265B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E265B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E265B#FFFFFF#000000##FFFFFF
##2E265B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5D
Deuteranopia (green-blind)
#092C5A
Tritanopia (blue-blind)
#20323C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e265b;
/* rgb */ color: rgb(46, 38, 91);
/* oklch */ color: oklch(30.9% 0.091 286.7);
Tailwind
colors: {
  custom: {
    50: '#6a608a',
    500: '#2e265b',
    950: '#000000',
  },
}
SCSS
$custom: #2e265b;
$custom-light: #6a608a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e265b",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 91
  },
  "hsl": {
    "h": 249.057,
    "s": 41.085,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30865,
    "c": 0.09142,
    "h": 286.7
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#2E265B
secondary
#858E4F
accent
#D157BE
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E265B

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

Preview Lab → · Contrast checker → · Palette generator →

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