#2E2F93#2E2F93

#2E2F93 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.160 H 275.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2E2F93
RGBrgb(46, 47, 147)
HSLhsl(239, 52%, 38%)
HSVhsv(239, 69%, 58%)
CMYKcmyk(68.7%, 68%, 0%, 42.4%)
CIE-LABlab(25.92, 32.88, -55.08)
CIE-LCHlch(25.92, 64.15, 300.84°)
OKLaboklab(37.5% 0.0141 -0.159)
OKLCHoklch(37.5% 0.16 275.1)
XYZxyz(7.4080, 4.7198, 28.1187)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F93 #93922E
analogous
#2E6193 #2E2F93 #5F2E93
triadic
#2E2F93 #932E2F #2F932E
tetradic
#2E2F93 #932E61 #93922E #2E935F
square
#2E2F93 #932E61 #93922E #2E935F
split-complementary
#2E2F93 #935F2E #61932E
monochromatic
#111136 #1F2064 #2E2F93 #3D3EC2 #6B6CD1

Accessibility & contrast

On white

10.80
#2E2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F93
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F93#FFFFFF#000000##FFFFFF
##2E2F931.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2f93;
/* rgb */ color: rgb(46, 47, 147);
/* oklch */ color: oklch(37.5% 0.160 275.1);
Tailwind
colors: {
  custom: {
    50: '#7568b4',
    500: '#2e2f93',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f93;
$custom-light: #7568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f93",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 239.406,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.375,
    "c": 0.15965,
    "h": 275.1
  },
  "luminance": 0.0472
}

Semantic roles & 50–950 ramp

primary
#2E2F93
secondary
#B8B765
accent
#DA4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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