#2E2F6A#2E2F6A

#2E2F6A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.101 H 278.9°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2E2F6A
RGBrgb(46, 47, 106)
HSLhsl(239, 39%, 30%)
HSVhsv(239, 57%, 42%)
CMYKcmyk(56.6%, 55.7%, 0%, 58.4%)
CIE-LABlab(22.49, 18.17, -34.79)
CIE-LCHlch(22.49, 39.25, 297.58°)
OKLaboklab(33.9% 0.0155 -0.0994)
OKLCHoklch(33.9% 0.101 278.9)
XYZxyz(4.7439, 3.6542, 14.0882)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F6A #6A692E
analogous
#2E4D6A #2E2F6A #4B2E6A
triadic
#2E2F6A #6A2E2F #2F6A2E
tetradic
#2E2F6A #6A2E4D #6A692E #2E6A4B
square
#2E2F6A #6A2E4D #6A692E #2E6A4B
split-complementary
#2E2F6A #6A4B2E #4D6A2E
monochromatic
#090915 #1B1C3F #2E2F6A #414295 #5B5CB8

Accessibility & contrast

On white

12.13
#2E2F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E2F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F6A
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F6A#FFFFFF#000000##FFFFFF
##2E2F6A1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E386C
Deuteranopia (green-blind)
#053369
Tritanopia (blue-blind)
#133C47
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2f6a;
/* rgb */ color: rgb(46, 47, 106);
/* oklch */ color: oklch(33.9% 0.101 278.9);
Tailwind
colors: {
  custom: {
    50: '#6c6795',
    500: '#2e2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f6a;
$custom-light: #6c6795;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f6a",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 239,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33903,
    "c": 0.10061,
    "h": 278.9
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#2E2F6A
secondary
#9C9A58
accent
#CD58CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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