#2E368C#2E368C

#2E368C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.141 H 273.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2E368C
RGBrgb(46, 54, 140)
HSLhsl(235, 51%, 36%)
HSVhsv(235, 67%, 55%)
CMYKcmyk(67.1%, 61.4%, 0%, 45.1%)
CIE-LABlab(27.05, 25.78, -48.91)
CIE-LCHlch(27.05, 55.29, 297.79°)
OKLaboklab(38.14% 0.0088 -0.1409)
OKLCHoklch(38.14% 0.141 273.6)
XYZxyz(7.1779, 5.1120, 25.4143)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E368C #8C842E
analogous
#2E658C #2E368C #552E8C
triadic
#2E368C #8C2E36 #368C2E
tetradic
#2E368C #8C2E65 #8C842E #2E8C55
square
#2E368C #8C2E65 #8C842E #2E8C55
split-complementary
#2E368C #8C552E #658C2E
monochromatic
#101230 #1F245E #2E368C #3D48BA #6770CD

Accessibility & contrast

On white

10.38
#2E368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E368C
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E368C#FFFFFF#000000##FFFFFF
##2E368C1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e368c;
/* rgb */ color: rgb(46, 54, 140);
/* oklch */ color: oklch(38.1% 0.141 273.6);
Tailwind
colors: {
  custom: {
    50: '#736dae',
    500: '#2e368c',
    950: '#000000',
  },
}
SCSS
$custom: #2e368c;
$custom-light: #736dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e368c",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 234.894,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38138,
    "c": 0.14117,
    "h": 273.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#2E368C
secondary
#B4AD62
accent
#CE4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E368C

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

Preview Lab → · Contrast checker → · Palette generator →

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