#2E2F94#2E2F94

#2E2F94 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.161 H 275.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2F94
RGBrgb(46, 47, 148)
HSLhsl(239, 53%, 38%)
HSVhsv(239, 69%, 58%)
CMYKcmyk(68.9%, 68.2%, 0%, 42%)
CIE-LABlab(26.01, 33.24, -55.55)
CIE-LCHlch(26.01, 64.73, 300.89°)
OKLaboklab(37.6% 0.014 -0.1604)
OKLCHoklch(37.6% 0.161 275)
XYZxyz(7.4868, 4.7513, 28.5338)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F94 #94932E
analogous
#2E6294 #2E2F94 #602E94
triadic
#2E2F94 #942E2F #2F942E
tetradic
#2E2F94 #942E62 #94932E #2E9460
square
#2E2F94 #942E62 #94932E #2E9460
split-complementary
#2E2F94 #94602E #62942E
monochromatic
#111137 #1F2065 #2E2F94 #3D3EC3 #6B6CD1

Accessibility & contrast

On white

10.77
#2E2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E2F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F94
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F94#FFFFFF#000000##FFFFFF
##2E2F941.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e2f94;
/* rgb */ color: rgb(46, 47, 148);
/* oklch */ color: oklch(37.6% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#7568b4',
    500: '#2e2f94',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f94;
$custom-light: #7568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f94",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 239.412,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37596,
    "c": 0.161,
    "h": 275
  },
  "luminance": 0.04752
}

Semantic roles & 50–950 ramp

primary
#2E2F94
secondary
#B8B766
accent
#DB4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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