#2E265D#2E265D

#2E265D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.095 H 286.2°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#2E265D
RGBrgb(46, 38, 93)
HSLhsl(249, 42%, 26%)
HSVhsv(249, 59%, 36%)
CMYKcmyk(50.5%, 59.1%, 0%, 63.5%)
CIE-LABlab(19.04, 19.84, -31.83)
CIE-LCHlch(19.04, 37.51, 301.94°)
OKLaboklab(31.02% 0.0263 -0.0908)
OKLCHoklch(31.02% 0.095 286.2)
XYZxyz(3.7950, 2.7572, 10.6860)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E265D #555D26
analogous
#26395D #2E265D #49265D
triadic
#2E265D #5D2E26 #265D2E
tetradic
#2E265D #5D2639 #555D26 #265D49
square
#2E265D #5D2639 #555D26 #265D49
split-complementary
#2E265D #5D4926 #395D26
monochromatic
#0B0916 #191432 #2E265D #433888 #594AB4

Accessibility & contrast

On white

13.54
#2E265D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2E265D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E265D
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E265D#FFFFFF#000000##FFFFFF
##2E265D1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07305F
Deuteranopia (green-blind)
#062D5C
Tritanopia (blue-blind)
#1E323D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e265d;
/* rgb */ color: rgb(46, 38, 93);
/* oklch */ color: oklch(31.0% 0.095 286.2);
Tailwind
colors: {
  custom: {
    50: '#6b608b',
    500: '#2e265d',
    950: '#000000',
  },
}
SCSS
$custom: #2e265d;
$custom-light: #6b608b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e265d",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 93
  },
  "hsl": {
    "h": 248.727,
    "s": 41.985,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31023,
    "c": 0.09451,
    "h": 286.2
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#2E265D
secondary
#87904F
accent
#D256C0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E265D

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

Preview Lab → · Contrast checker → · Palette generator →

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