#2E3066#2E3066

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

Color values

HEX#2E3066
RGBrgb(46, 48, 102)
HSLhsl(238, 38%, 29%)
HSVhsv(238, 55%, 40%)
CMYKcmyk(54.9%, 52.9%, 0%, 60%)
CIE-LABlab(22.49, 16.05, -32.20)
CIE-LCHlch(22.49, 35.97, 296.49°)
OKLaboklab(33.81% 0.0139 -0.0918)
OKLCHoklch(33.81% 0.093 278.6)
XYZxyz(4.5812, 3.6538, 13.0316)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3066 #66642E
analogous
#2E4C66 #2E3066 #482E66
triadic
#2E3066 #662E30 #30662E
tetradic
#2E3066 #662E4C #66642E #2E6648
square
#2E3066 #662E4C #66642E #2E6648
split-complementary
#2E3066 #66482E #4C662E
monochromatic
#0A0A15 #1B1C3C #2E3066 #414490 #5A5DB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3066#FFFFFF#000000##FFFFFF
##2E30661.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)
#163868
Deuteranopia (green-blind)
#103465
Tritanopia (blue-blind)
#163C46
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e3066;
/* rgb */ color: rgb(46, 48, 102);
/* oklch */ color: oklch(33.8% 0.093 278.6);
Tailwind
colors: {
  custom: {
    50: '#6b6892',
    500: '#2e3066',
    950: '#000000',
  },
}
SCSS
$custom: #2e3066;
$custom-light: #6b6892;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3066",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 102
  },
  "hsl": {
    "h": 237.857,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33811,
    "c": 0.09282,
    "h": 278.6
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#2E3066
secondary
#989558
accent
#CA5ACE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E3066

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

Preview Lab → · Contrast checker → · Palette generator →

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