#2E2F5C#2E2F5C

#2E2F5C is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.078 H 280.2°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2E2F5C
RGBrgb(46, 47, 92)
HSLhsl(239, 33%, 27%)
HSVhsv(239, 50%, 36%)
CMYKcmyk(50%, 48.9%, 0%, 63.9%)
CIE-LABlab(21.53, 13.23, -27.19)
CIE-LCHlch(21.53, 30.24, 295.94°)
OKLaboklab(32.87% 0.0139 -0.0771)
OKLCHoklch(32.87% 0.078 280.2)
XYZxyz(4.0744, 3.3864, 10.5621)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F5C #5C5B2E
analogous
#2E465C #2E2F5C #442E5C
triadic
#2E2F5C #5C2E2F #2F5C2E
tetradic
#2E2F5C #5C2E46 #5C5B2E #2E5C44
square
#2E2F5C #5C2E46 #5C5B2E #2E5C44
split-complementary
#2E2F5C #5C442E #465C2E
monochromatic
#0A0A14 #1A1A33 #2E2F5C #424485 #595AAC

Accessibility & contrast

On white

12.52
#2E2F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F5C
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F5C#FFFFFF#000000##FFFFFF
##2E2F5C1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D355E
Deuteranopia (green-blind)
#1A325B
Tritanopia (blue-blind)
#1E3841
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2f5c;
/* rgb */ color: rgb(46, 47, 92);
/* oklch */ color: oklch(32.9% 0.078 280.2);
Tailwind
colors: {
  custom: {
    50: '#6a678a',
    500: '#2e2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f5c;
$custom-light: #6a678a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f5c",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 238.696,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32866,
    "c": 0.07833,
    "h": 280.2
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

primary
#2E2F5C
secondary
#8E8D58
accent
#C75EC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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