#2E3D64#2E3D64

#2E3D64 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.7% C 0.070 H 267.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#2E3D64
RGBrgb(46, 61, 100)
HSLhsl(223, 37%, 29%)
HSVhsv(223, 54%, 39%)
CMYKcmyk(54%, 39%, 0%, 60.8%)
CIE-LABlab(26.27, 6.33, -24.89)
CIE-LCHlch(26.27, 25.69, 284.28°)
OKLaboklab(36.66% -0.0037 -0.0703)
OKLCHoklch(36.66% 0.07 267)
XYZxyz(5.0950, 4.8381, 12.7195)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3D64 #64552E
analogous
#2E5864 #2E3D64 #3A2E64
triadic
#2E3D64 #642E3D #3D642E
tetradic
#2E3D64 #642E58 #64552E #2E643A
square
#2E3D64 #642E58 #64552E #2E643A
split-complementary
#2E3D64 #643A2E #58642E
monochromatic
#0A0D15 #1B233A #2E3D64 #41578E #5A72B3

Accessibility & contrast

On white

10.67
#2E3D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2E3D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3D64
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3D64#FFFFFF#000000##FFFFFF
##2E3D641.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4166
Deuteranopia (green-blind)
#283C63
Tritanopia (blue-blind)
#16454B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e3d64;
/* rgb */ color: rgb(46, 61, 100);
/* oklch */ color: oklch(36.7% 0.070 267.0);
Tailwind
colors: {
  custom: {
    50: '#6b7290',
    500: '#2e3d64',
    950: '#000000',
  },
}
SCSS
$custom: #2e3d64;
$custom-light: #6b7290;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3d64",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 100
  },
  "hsl": {
    "h": 223.333,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36655,
    "c": 0.07037,
    "h": 267
  },
  "luminance": 0.04838
}

Semantic roles & 50–950 ramp

primary
#2E3D64
secondary
#968558
accent
#AD5BCD
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#07070C
muted
#7A7A7D

Preview Lab

Preview with #2E3D64

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

Preview Lab → · Contrast checker → · Palette generator →

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