#2E367E#2E367E

#2E367E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.121 H 274.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2E367E
RGBrgb(46, 54, 126)
HSLhsl(234, 47%, 34%)
HSVhsv(234, 63%, 49%)
CMYKcmyk(63.5%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.94, 20.63, -41.99)
CIE-LCHlch(25.94, 46.78, 296.16°)
OKLaboklab(36.96% 0.0087 -0.1205)
OKLCHoklch(36.96% 0.121 274.1)
XYZxyz(6.2105, 4.7250, 20.3194)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E367E #7E762E
analogous
#2E5E7E #2E367E #4E2E7E
triadic
#2E367E #7E2E36 #367E2E
tetradic
#2E367E #7E2E5E #7E762E #2E7E4E
square
#2E367E #7E2E5E #7E762E #2E7E4E
split-complementary
#2E367E #7E4E2E #5E7E2E
monochromatic
#0D1024 #1E2351 #2E367E #3E49AB #616BC5

Accessibility & contrast

On white

10.80
#2E367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E367E
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E367E#FFFFFF#000000##FFFFFF
##2E367E1.0010.801.9510.80
#FFFFFF10.801.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e367e;
/* rgb */ color: rgb(46, 54, 126);
/* oklch */ color: oklch(37.0% 0.121 274.1);
Tailwind
colors: {
  custom: {
    50: '#706ca4',
    500: '#2e367e',
    950: '#000000',
  },
}
SCSS
$custom: #2e367e;
$custom-light: #706ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e367e",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 234,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36957,
    "c": 0.12083,
    "h": 274.1
  },
  "luminance": 0.04726
}

Semantic roles & 50–950 ramp

primary
#2E367E
secondary
#ACA45C
accent
#C952D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E367E

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

Preview Lab → · Contrast checker → · Palette generator →

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