#2E2F65#2E2F65

#2E2F65 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.093 H 279.3°. Best body text is #FFFFFF at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2F65
RGBrgb(46, 47, 101)
HSLhsl(239, 37%, 29%)
HSVhsv(239, 54%, 40%)
CMYKcmyk(54.5%, 53.5%, 0%, 60.4%)
CIE-LABlab(22.14, 16.39, -32.12)
CIE-LCHlch(22.14, 36.06, 297.04°)
OKLaboklab(33.52% 0.0151 -0.0916)
OKLCHoklch(33.52% 0.093 279.3)
XYZxyz(4.4915, 3.5532, 12.7586)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F65 #65642E
analogous
#2E4B65 #2E2F65 #492E65
triadic
#2E2F65 #652E2F #2F652E
tetradic
#2E2F65 #652E4B #65642E #2E6549
square
#2E2F65 #652E4B #65642E #2E6549
split-complementary
#2E2F65 #65492E #4B652E
monochromatic
#0A0A15 #1B1B3B #2E2F65 #41438F #5A5BB4

Accessibility & contrast

On white

12.28
#2E2F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E2F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F65
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F65#FFFFFF#000000##FFFFFF
##2E2F651.0012.281.7112.28
#FFFFFF12.281.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153767
Deuteranopia (green-blind)
#0F3364
Tritanopia (blue-blind)
#183B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2f65;
/* rgb */ color: rgb(46, 47, 101);
/* oklch */ color: oklch(33.5% 0.093 279.3);
Tailwind
colors: {
  custom: {
    50: '#6b6791',
    500: '#2e2f65',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f65;
$custom-light: #6b6791;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f65",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 238.909,
    "s": 37.415,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3352,
    "c": 0.09279,
    "h": 279.3
  },
  "luminance": 0.03553
}

Semantic roles & 50–950 ramp

primary
#2E2F65
secondary
#979658
accent
#CB5ACD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060D
muted
#7A7A7D

Preview Lab

Preview with #2E2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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