#2E268D#2E268D

#2E268D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.162 H 277.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2E268D
RGBrgb(46, 38, 141)
HSLhsl(245, 58%, 35%)
HSVhsv(245, 73%, 55%)
CMYKcmyk(67.4%, 73%, 0%, 44.7%)
CIE-LABlab(23.30, 36.37, -55.67)
CIE-LCHlch(23.30, 66.50, 303.16°)
OKLaboklab(35.44% 0.0215 -0.1607)
OKLCHoklch(35.44% 0.162 277.6)
XYZxyz(6.6260, 3.8896, 25.5957)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E268D #858D26
analogous
#26528D #2E268D #61268D
triadic
#2E268D #8D2E26 #268D2E
tetradic
#2E268D #8D2652 #858D26 #268D61
square
#2E268D #8D2652 #858D26 #268D61
split-complementary
#2E268D #8D6126 #528D26
monochromatic
#0F0C2D #1E195D #2E268D #3E33BD #645BD3

Accessibility & contrast

On white

11.81
#2E268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E268D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E268D#FFFFFF#000000##FFFFFF
##2E268D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e268d;
/* rgb */ color: rgb(46, 38, 141);
/* oklch */ color: oklch(35.4% 0.162 277.6);
Tailwind
colors: {
  custom: {
    50: '#7462af',
    500: '#2e268d',
    950: '#000000',
  },
}
SCSS
$custom: #2e268d;
$custom-light: #7462af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e268d",
  "rgb": {
    "r": 46,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 244.66,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35439,
    "c": 0.16217,
    "h": 277.6
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#2E268D
secondary
#B0B857
accent
#E147D5
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2E268D

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

Preview Lab → · Contrast checker → · Palette generator →

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