#2E458D#2E458D

#2E458D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.3% C 0.123 H 267.5°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2E458D
RGBrgb(46, 69, 141)
HSLhsl(225, 51%, 37%)
HSVhsv(225, 67%, 55%)
CMYKcmyk(67.4%, 51.1%, 0%, 44.7%)
CIE-LABlab(31.25, 16.00, -42.73)
CIE-LCHlch(31.25, 45.63, 290.53°)
OKLaboklab(41.32% -0.0054 -0.1225)
OKLCHoklch(41.32% 0.123 267.5)
XYZxyz(8.0609, 6.7594, 26.0740)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E458D #8D762E
analogous
#2E758D #2E458D #472E8D
triadic
#2E458D #8D2E45 #458D2E
tetradic
#2E458D #8D2E75 #8D762E #2E8D47
square
#2E458D #8D2E75 #8D762E #2E8D47
split-complementary
#2E458D #8D472E #758D2E
monochromatic
#101831 #1F2E5F #2E458D #3D5CBB #6880CE

Accessibility & contrast

On white

8.93
#2E458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E458D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E458D#FFFFFF#000000##FFFFFF
##2E458D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E90
Deuteranopia (green-blind)
#02458C
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e458d;
/* rgb */ color: rgb(46, 69, 141);
/* oklch */ color: oklch(41.3% 0.123 267.5);
Tailwind
colors: {
  custom: {
    50: '#7278af',
    500: '#2e458d',
    950: '#000000',
  },
}
SCSS
$custom: #2e458d;
$custom-light: #7278af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e458d",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 225.474,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.12261,
    "h": 267.5
  },
  "luminance": 0.0676
}

Semantic roles & 50–950 ramp

primary
#2E458D
secondary
#B5A162
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E458D

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

Preview Lab → · Contrast checker → · Palette generator →

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