#2E305C#2E305C

#2E305C is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.1% C 0.077 H 279.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2E305C
RGBrgb(46, 48, 92)
HSLhsl(237, 33%, 27%)
HSVhsv(237, 50%, 36%)
CMYKcmyk(50%, 47.8%, 0%, 63.9%)
CIE-LABlab(21.83, 12.53, -26.72)
CIE-LCHlch(21.83, 29.51, 295.12°)
OKLaboklab(33.09% 0.0125 -0.0757)
OKLCHoklch(33.09% 0.077 279.4)
XYZxyz(4.1148, 3.4672, 10.5756)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E305C #5C5A2E
analogous
#2E475C #2E305C #432E5C
triadic
#2E305C #5C2E30 #305C2E
tetradic
#2E305C #5C2E47 #5C5A2E #2E5C43
square
#2E305C #5C2E47 #5C5A2E #2E5C43
split-complementary
#2E305C #5C432E #475C2E
monochromatic
#0A0B14 #1A1B33 #2E305C #424585 #595CAC

Accessibility & contrast

On white

12.40
#2E305C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E305C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E305C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E305C#FFFFFF#000000##FFFFFF
##2E305C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F365E
Deuteranopia (green-blind)
#1B335B
Tritanopia (blue-blind)
#1E3941
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e305c;
/* rgb */ color: rgb(46, 48, 92);
/* oklch */ color: oklch(33.1% 0.077 279.4);
Tailwind
colors: {
  custom: {
    50: '#6a688a',
    500: '#2e305c',
    950: '#000000',
  },
}
SCSS
$custom: #2e305c;
$custom-light: #6a688a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e305c",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 237.391,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33091,
    "c": 0.07672,
    "h": 279.4
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#2E305C
secondary
#8E8B58
accent
#C55EC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E305C

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

Preview Lab → · Contrast checker → · Palette generator →

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