#2E3064#2E3064

#2E3064 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.090 H 278.8°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2E3064
RGBrgb(46, 48, 100)
HSLhsl(238, 37%, 29%)
HSVhsv(238, 54%, 39%)
CMYKcmyk(54%, 52%, 0%, 60.8%)
CIE-LABlab(22.35, 15.34, -31.12)
CIE-LCHlch(22.35, 34.69, 296.24°)
OKLaboklab(33.66% 0.0137 -0.0886)
OKLCHoklch(33.66% 0.09 278.8)
XYZxyz(4.4832, 3.6146, 12.5156)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3064 #64622E
analogous
#2E4B64 #2E3064 #472E64
triadic
#2E3064 #642E30 #30642E
tetradic
#2E3064 #642E4B #64622E #2E6447
square
#2E3064 #642E4B #64622E #2E6447
split-complementary
#2E3064 #64472E #4B642E
monochromatic
#0A0A15 #1B1C3A #2E3064 #41448E #5A5DB3

Accessibility & contrast

On white

12.19
#2E3064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E3064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3064
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3064#FFFFFF#000000##FFFFFF
##2E30641.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183866
Deuteranopia (green-blind)
#133363
Tritanopia (blue-blind)
#183B45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3064;
/* rgb */ color: rgb(46, 48, 100);
/* oklch */ color: oklch(33.7% 0.090 278.8);
Tailwind
colors: {
  custom: {
    50: '#6b6890',
    500: '#2e3064',
    950: '#000000',
  },
}
SCSS
$custom: #2e3064;
$custom-light: #6b6890;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3064",
  "rgb": {
    "r": 46,
    "g": 48,
    "b": 100
  },
  "hsl": {
    "h": 237.778,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33662,
    "c": 0.08965,
    "h": 278.8
  },
  "luminance": 0.03615
}

Semantic roles & 50–950 ramp

primary
#2E3064
secondary
#969358
accent
#C95BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E3064

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

Preview Lab → · Contrast checker → · Palette generator →

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