#2E367F#2E367F

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

Color values

HEX#2E367F
RGBrgb(46, 54, 127)
HSLhsl(234, 47%, 34%)
HSVhsv(234, 64%, 50%)
CMYKcmyk(63.8%, 57.5%, 0%, 50.2%)
CIE-LABlab(26.01, 21.00, -42.49)
CIE-LCHlch(26.01, 47.40, 296.29°)
OKLaboklab(37.04% 0.0087 -0.122)
OKLCHoklch(37.04% 0.122 274.1)
XYZxyz(6.2754, 4.7510, 20.6609)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E367F #7F772E
analogous
#2E5F7F #2E367F #4F2E7F
triadic
#2E367F #7F2E36 #367F2E
tetradic
#2E367F #7F2E5F #7F772E #2E7F4F
square
#2E367F #7F2E5F #7F772E #2E7F4F
split-complementary
#2E367F #7F4F2E #5F7F2E
monochromatic
#0D1025 #1E2352 #2E367F #3E49AC #616BC6

Accessibility & contrast

On white

10.77
#2E367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E367F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E367F#FFFFFF#000000##FFFFFF
##2E367F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e367f;
/* rgb */ color: rgb(46, 54, 127);
/* oklch */ color: oklch(37.0% 0.122 274.1);
Tailwind
colors: {
  custom: {
    50: '#706ca5',
    500: '#2e367f',
    950: '#000000',
  },
}
SCSS
$custom: #2e367f;
$custom-light: #706ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e367f",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 234.074,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37039,
    "c": 0.12231,
    "h": 274.1
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#2E367F
secondary
#ADA55C
accent
#C951D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2E367F

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

Preview Lab → · Contrast checker → · Palette generator →

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