#2E458B#2E458B

#2E458B is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.120 H 267.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2E458B
RGBrgb(46, 69, 139)
HSLhsl(225, 50%, 36%)
HSVhsv(225, 67%, 55%)
CMYKcmyk(66.9%, 50.4%, 0%, 45.5%)
CIE-LABlab(31.11, 15.25, -41.72)
CIE-LCHlch(31.11, 44.42, 290.08°)
OKLaboklab(41.17% -0.0056 -0.1195)
OKLCHoklch(41.17% 0.12 267.3)
XYZxyz(7.9134, 6.7004, 25.2974)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E458B #8B742E
analogous
#2E748B #2E458B #462E8B
triadic
#2E458B #8B2E45 #458B2E
tetradic
#2E458B #8B2E74 #8B742E #2E8B46
square
#2E458B #8B2E74 #8B742E #2E8B46
split-complementary
#2E458B #8B462E #748B2E
monochromatic
#10172F #1F2E5D #2E458B #3D5CB9 #6780CD

Accessibility & contrast

On white

8.97
#2E458B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E458B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E458B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E458B#FFFFFF#000000##FFFFFF
##2E458B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#08458A
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e458b;
/* rgb */ color: rgb(46, 69, 139);
/* oklch */ color: oklch(41.2% 0.120 267.3);
Tailwind
colors: {
  custom: {
    50: '#7178ad',
    500: '#2e458b',
    950: '#000000',
  },
}
SCSS
$custom: #2e458b;
$custom-light: #7178ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e458b",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 139
  },
  "hsl": {
    "h": 225.161,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41166,
    "c": 0.11965,
    "h": 267.3
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#2E458B
secondary
#B39F61
accent
#B74EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E458B

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

Preview Lab → · Contrast checker → · Palette generator →

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