#2E2F63#2E2F63

#2E2F63 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.4% C 0.090 H 279.5°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2E2F63
RGBrgb(46, 47, 99)
HSLhsl(239, 37%, 28%)
HSVhsv(239, 54%, 39%)
CMYKcmyk(53.5%, 52.5%, 0%, 61.2%)
CIE-LABlab(22.00, 15.68, -31.04)
CIE-LCHlch(22.00, 34.77, 296.81°)
OKLaboklab(33.37% 0.0149 -0.0884)
OKLCHoklch(33.37% 0.09 279.5)
XYZxyz(4.3947, 3.5145, 12.2488)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F63 #63622E
analogous
#2E4963 #2E2F63 #472E63
triadic
#2E2F63 #632E2F #2F632E
tetradic
#2E2F63 #632E49 #63622E #2E6347
square
#2E2F63 #632E49 #63622E #2E6347
split-complementary
#2E2F63 #63472E #49632E
monochromatic
#0A0A15 #1B1B39 #2E2F63 #41438D #595BB2

Accessibility & contrast

On white

12.33
#2E2F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F63
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F63#FFFFFF#000000##FFFFFF
##2E2F631.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173765
Deuteranopia (green-blind)
#123362
Tritanopia (blue-blind)
#193A44
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2f63;
/* rgb */ color: rgb(46, 47, 99);
/* oklch */ color: oklch(33.4% 0.090 279.5);
Tailwind
colors: {
  custom: {
    50: '#6b6790',
    500: '#2e2f63',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f63;
$custom-light: #6b6790;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f63",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 99
  },
  "hsl": {
    "h": 238.868,
    "s": 36.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.08962,
    "h": 279.5
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#2E2F63
secondary
#959458
accent
#CA5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E2F63

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

Preview Lab → · Contrast checker → · Palette generator →

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