#2E365C#2E365C

#2E365C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.5% C 0.067 H 273.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2E365C
RGBrgb(46, 54, 92)
HSLhsl(230, 33%, 27%)
HSVhsv(230, 50%, 36%)
CMYKcmyk(50%, 41.3%, 0%, 63.9%)
CIE-LABlab(23.64, 8.34, -23.84)
CIE-LCHlch(23.64, 25.25, 289.29°)
OKLaboklab(34.48% 0.004 -0.0672)
OKLCHoklch(34.48% 0.067 273.4)
XYZxyz(4.3770, 3.9916, 10.6630)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E365C #5C542E
analogous
#2E4D5C #2E365C #3D2E5C
triadic
#2E365C #5C2E36 #365C2E
tetradic
#2E365C #5C2E4D #5C542E #2E5C3D
square
#2E365C #5C2E4D #5C542E #2E5C3D
split-complementary
#2E365C #5C3D2E #4D5C2E
monochromatic
#0A0C14 #1A1E33 #2E365C #424E85 #5967AC

Accessibility & contrast

On white

11.68
#2E365C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E365C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E365C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E365C#FFFFFF#000000##FFFFFF
##2E365C1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5E
Deuteranopia (green-blind)
#24365B
Tritanopia (blue-blind)
#1D3E44
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e365c;
/* rgb */ color: rgb(46, 54, 92);
/* oklch */ color: oklch(34.5% 0.067 273.4);
Tailwind
colors: {
  custom: {
    50: '#6a6c8a',
    500: '#2e365c',
    950: '#000000',
  },
}
SCSS
$custom: #2e365c;
$custom-light: #6a6c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e365c",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 92
  },
  "hsl": {
    "h": 229.565,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34481,
    "c": 0.06736,
    "h": 273.4
  },
  "luminance": 0.03992
}

Semantic roles & 50–950 ramp

primary
#2E365C
secondary
#8E8458
accent
#B75EC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2E365C

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

Preview Lab → · Contrast checker → · Palette generator →

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