#2E366C#2E366C

#2E366C is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.093 H 274.3°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#2E366C
RGBrgb(46, 54, 108)
HSLhsl(232, 40%, 30%)
HSVhsv(232, 57%, 42%)
CMYKcmyk(57.4%, 50%, 0%, 57.6%)
CIE-LABlab(24.64, 14.03, -32.62)
CIE-LCHlch(24.64, 35.52, 293.28°)
OKLaboklab(35.57% 0.0071 -0.093)
OKLCHoklch(35.57% 0.093 274.3)
XYZxyz(5.1518, 4.3015, 14.7433)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E366C #6C642E
analogous
#2E556C #2E366C #452E6C
triadic
#2E366C #6C2E36 #366C2E
tetradic
#2E366C #6C2E55 #6C642E #2E6C45
square
#2E366C #6C2E55 #6C642E #2E6C45
split-complementary
#2E366C #6C452E #556C2E
monochromatic
#090B16 #1C2141 #2E366C #404B97 #5B67B9

Accessibility & contrast

On white

11.29
#2E366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E366C
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E366C#FFFFFF#000000##FFFFFF
##2E366C1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6E
Deuteranopia (green-blind)
#15386B
Tritanopia (blue-blind)
#0F424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e366c;
/* rgb */ color: rgb(46, 54, 108);
/* oklch */ color: oklch(35.6% 0.093 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c6c96',
    500: '#2e366c',
    950: '#000000',
  },
}
SCSS
$custom: #2e366c;
$custom-light: #6c6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2e366c",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 232.258,
    "s": 40.26,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3557,
    "c": 0.09325,
    "h": 274.3
  },
  "luminance": 0.04302
}

Semantic roles & 50–950 ramp

primary
#2E366C
secondary
#9E9558
accent
#C158D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E366C

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

Preview Lab → · Contrast checker → · Palette generator →

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