#2E2F74#2E2F74

#2E2F74 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.116 H 277.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2E2F74
RGBrgb(46, 47, 116)
HSLhsl(239, 43%, 32%)
HSVhsv(239, 60%, 45%)
CMYKcmyk(60.3%, 59.5%, 0%, 54.5%)
CIE-LABlab(23.25, 21.77, -39.99)
CIE-LCHlch(23.25, 45.53, 298.56°)
OKLaboklab(34.71% 0.0159 -0.1147)
OKLCHoklch(34.71% 0.116 277.9)
XYZxyz(5.2946, 3.8745, 16.9885)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F74 #74732E
analogous
#2E5274 #2E2F74 #502E74
triadic
#2E2F74 #742E2F #2F742E
tetradic
#2E2F74 #742E52 #74732E #2E7450
square
#2E2F74 #742E52 #74732E #2E7450
split-complementary
#2E2F74 #74502E #52742E
monochromatic
#0B0B1C #1D1D48 #2E2F74 #3F41A0 #5D5FBF

Accessibility & contrast

On white

11.83
#2E2F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F74
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F74#FFFFFF#000000##FFFFFF
##2E2F741.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#033F4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e2f74;
/* rgb */ color: rgb(46, 47, 116);
/* oklch */ color: oklch(34.7% 0.116 277.9);
Tailwind
colors: {
  custom: {
    50: '#6e679d',
    500: '#2e2f74',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f74;
$custom-light: #6e679d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f74",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 239.143,
    "s": 43.21,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3471,
    "c": 0.11582,
    "h": 277.9
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2F74

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

Preview Lab → · Contrast checker → · Palette generator →

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