#2E265C#2E265C

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

Color values

HEX#2E265C
RGBrgb(46, 38, 92)
HSLhsl(249, 42%, 25%)
HSVhsv(249, 59%, 36%)
CMYKcmyk(50%, 58.7%, 0%, 63.9%)
CIE-LABlab(18.97, 19.50, -31.29)
CIE-LCHlch(18.97, 36.87, 301.93°)
OKLaboklab(30.94% 0.0263 -0.0892)
OKLCHoklch(30.94% 0.093 286.4)
XYZxyz(3.7510, 2.7396, 10.4543)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E265C #545C26
analogous
#26395C #2E265C #49265C
triadic
#2E265C #5C2E26 #265C2E
tetradic
#2E265C #5C2639 #545C26 #265C49
square
#2E265C #5C2639 #545C26 #265C49
split-complementary
#2E265C #5C4926 #395C26
monochromatic
#0B0916 #181431 #2E265C #443887 #594AB3

Accessibility & contrast

On white

13.57
#2E265C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E265C
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E265C#FFFFFF#000000##FFFFFF
##2E265C1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092F5E
Deuteranopia (green-blind)
#082D5B
Tritanopia (blue-blind)
#1F323D
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2e265c;
/* rgb */ color: rgb(46, 38, 92);
/* oklch */ color: oklch(30.9% 0.093 286.4);
Tailwind
colors: {
  custom: {
    50: '#6b608a',
    500: '#2e265c',
    950: '#000000',
  },
}
SCSS
$custom: #2e265c;
$custom-light: #6b608a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e265c",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 92
  },
  "hsl": {
    "h": 248.889,
    "s": 41.538,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30944,
    "c": 0.09297,
    "h": 286.4
  },
  "luminance": 0.0274
}

Semantic roles & 50–950 ramp

primary
#2E265C
secondary
#868F4F
accent
#D156BF
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07050C
muted
#7A797D

Preview Lab

Preview with #2E265C

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

Preview Lab → · Contrast checker → · Palette generator →

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