#2E368A#2E368A

#2E368A is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.138 H 273.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2E368A
RGBrgb(46, 54, 138)
HSLhsl(235, 50%, 36%)
HSVhsv(235, 67%, 54%)
CMYKcmyk(66.7%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.89, 25.04, -47.94)
CIE-LCHlch(26.89, 54.09, 297.58°)
OKLaboklab(37.96% 0.0089 -0.138)
OKLCHoklch(37.96% 0.138 273.7)
XYZxyz(7.0318, 5.0535, 24.6447)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E368A #8A822E
analogous
#2E648A #2E368A #542E8A
triadic
#2E368A #8A2E36 #368A2E
tetradic
#2E368A #8A2E64 #8A822E #2E8A54
square
#2E368A #8A2E64 #8A822E #2E8A54
split-complementary
#2E368A #8A542E #648A2E
monochromatic
#0F122E #1F245C #2E368A #3D48B8 #666FCC

Accessibility & contrast

On white

10.44
#2E368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E368A
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E368A#FFFFFF#000000##FFFFFF
##2E368A1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e368a;
/* rgb */ color: rgb(46, 54, 138);
/* oklch */ color: oklch(38.0% 0.138 273.7);
Tailwind
colors: {
  custom: {
    50: '#726dad',
    500: '#2e368a',
    950: '#000000',
  },
}
SCSS
$custom: #2e368a;
$custom-light: #726dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e368a",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 234.783,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.13831,
    "h": 273.7
  },
  "luminance": 0.05054
}

Semantic roles & 50–950 ramp

primary
#2E368A
secondary
#B3AC61
accent
#CD4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E368A

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

Preview Lab → · Contrast checker → · Palette generator →

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