#2E256E#2E256E

#2E256E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.121 H 282.8°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2E256E
RGBrgb(46, 37, 110)
HSLhsl(247, 50%, 29%)
HSVhsv(247, 66%, 43%)
CMYKcmyk(58.2%, 66.4%, 0%, 56.9%)
CIE-LABlab(20.16, 26.37, -41.15)
CIE-LCHlch(20.16, 48.88, 302.65°)
OKLaboklab(32.28% 0.0269 -0.1182)
OKLCHoklch(32.28% 0.121 282.8)
XYZxyz(4.6019, 3.0295, 15.0911)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E256E #656E25
analogous
#25416E #2E256E #53256E
triadic
#2E256E #6E2E25 #256E2E
tetradic
#2E256E #6E2541 #656E25 #256E53
square
#2E256E #6E2541 #656E25 #256E53
split-complementary
#2E256E #6E5325 #416E25
monochromatic
#0A0817 #1B1640 #2E256E #41349C #5A4BC2

Accessibility & contrast

On white

13.08
#2E256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E256E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E256E#FFFFFF#000000##FFFFFF
##2E256E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#103745
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e256e;
/* rgb */ color: rgb(46, 37, 110);
/* oklch */ color: oklch(32.3% 0.121 282.8);
Tailwind
colors: {
  custom: {
    50: '#6e6098',
    500: '#2e256e',
    950: '#000000',
  },
}
SCSS
$custom: #2e256e;
$custom-light: #6e6098;
$custom-dark: #000000;
JSON
{
  "hex": "#2e256e",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 247.397,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3228,
    "c": 0.12122,
    "h": 282.8
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#2E256E
secondary
#97A14E
accent
#D94FC8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E256E

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

Preview Lab → · Contrast checker → · Palette generator →

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