#2E2F67#2E2F67

#2E2F67 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.096 H 279.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#2E2F67
RGBrgb(46, 47, 103)
HSLhsl(239, 38%, 29%)
HSVhsv(239, 55%, 40%)
CMYKcmyk(55.3%, 54.4%, 0%, 59.6%)
CIE-LABlab(22.28, 17.10, -33.19)
CIE-LCHlch(22.28, 37.34, 297.26°)
OKLaboklab(33.67% 0.0153 -0.0947)
OKLCHoklch(33.67% 0.096 279.1)
XYZxyz(4.5906, 3.5929, 13.2809)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F67 #67662E
analogous
#2E4C67 #2E2F67 #4A2E67
triadic
#2E2F67 #672E2F #2F672E
tetradic
#2E2F67 #672E4C #67662E #2E674A
square
#2E2F67 #672E4C #67662E #2E674A
split-complementary
#2E2F67 #674A2E #4C672E
monochromatic
#090A15 #1B1C3D #2E2F67 #414291 #5A5CB5

Accessibility & contrast

On white

12.22
#2E2F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E2F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F67
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F67#FFFFFF#000000##FFFFFF
##2E2F671.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133869
Deuteranopia (green-blind)
#0C3366
Tritanopia (blue-blind)
#163B46
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2f67;
/* rgb */ color: rgb(46, 47, 103);
/* oklch */ color: oklch(33.7% 0.096 279.1);
Tailwind
colors: {
  custom: {
    50: '#6c6793',
    500: '#2e2f67',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f67;
$custom-light: #6c6793;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f67",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 238.947,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33672,
    "c": 0.09593,
    "h": 279.1
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#2E2F67
secondary
#999858
accent
#CC5ACE
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E2F67

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

Preview Lab → · Contrast checker → · Palette generator →

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