#2E2F73#2E2F73

#2E2F73 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.114 H 278.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#2E2F73
RGBrgb(46, 47, 115)
HSLhsl(239, 43%, 32%)
HSVhsv(239, 60%, 45%)
CMYKcmyk(60%, 59.1%, 0%, 54.9%)
CIE-LABlab(23.17, 21.41, -39.48)
CIE-LCHlch(23.17, 44.91, 298.47°)
OKLaboklab(34.63% 0.0159 -0.1132)
OKLCHoklch(34.63% 0.114 278)
XYZxyz(5.2368, 3.8513, 16.6838)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F73 #73722E
analogous
#2E5273 #2E2F73 #502E73
triadic
#2E2F73 #732E2F #2F732E
tetradic
#2E2F73 #732E52 #73722E #2E7350
square
#2E2F73 #732E52 #73722E #2E7350
split-complementary
#2E2F73 #73502E #52732E
monochromatic
#0B0B1C #1D1D47 #2E2F73 #3F419F #5D5FBE

Accessibility & contrast

On white

11.86
#2E2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F73
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F73#FFFFFF#000000##FFFFFF
##2E2F731.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#053F4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2f73;
/* rgb */ color: rgb(46, 47, 115);
/* oklch */ color: oklch(34.6% 0.114 278.0);
Tailwind
colors: {
  custom: {
    50: '#6e679c',
    500: '#2e2f73',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f73;
$custom-light: #6e679c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f73",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 239.13,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34627,
    "c": 0.11432,
    "h": 278
  },
  "luminance": 0.03852
}

Semantic roles & 50–950 ramp

primary
#2E2F73
secondary
#A4A358
accent
#D155D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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