#2E308D#2E308D

#2E308D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.150 H 275.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2E308D
RGBrgb(46, 48, 141)
HSLhsl(239, 51%, 37%)
HSVhsv(239, 67%, 55%)
CMYKcmyk(67.4%, 66%, 0%, 44.7%)
CIE-LABlab(25.62, 30.11, -51.88)
CIE-LCHlch(25.62, 59.98, 300.13°)
OKLaboklab(37.11% 0.0139 -0.1496)
OKLCHoklch(37.11% 0.15 275.3)
XYZxyz(6.9898, 4.6172, 25.7170)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E308D #8D8B2E
analogous
#2E608D #2E308D #5C2E8D
triadic
#2E308D #8D2E30 #308D2E
tetradic
#2E308D #8D2E60 #8D8B2E #2E8D5C
square
#2E308D #8D2E60 #8D8B2E #2E8D5C
split-complementary
#2E308D #8D5C2E #608D2E
monochromatic
#101131 #1F205F #2E308D #3D40BB #686ACE

Accessibility & contrast

On white

10.92
#2E308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E308D
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E308D#FFFFFF#000000##FFFFFF
##2E308D1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e308d;
/* rgb */ color: rgb(46, 48, 141);
/* oklch */ color: oklch(37.1% 0.150 275.3);
Tailwind
colors: {
  custom: {
    50: '#7368af',
    500: '#2e308d',
    950: '#000000',
  },
}
SCSS
$custom: #2e308d;
$custom-light: #7368af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e308d",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 238.737,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.15028,
    "h": 275.3
  },
  "luminance": 0.04618
}

Semantic roles & 50–950 ramp

primary
#2E308D
secondary
#B5B362
accent
#D74EDA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2E308D

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

Preview Lab → · Contrast checker → · Palette generator →

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