#2E458E#2E458E

#2E458E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.124 H 267.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2E458E
RGBrgb(46, 69, 142)
HSLhsl(226, 51%, 37%)
HSVhsv(226, 68%, 56%)
CMYKcmyk(67.6%, 51.4%, 0%, 44.3%)
CIE-LABlab(31.32, 16.38, -43.23)
CIE-LCHlch(31.32, 46.23, 290.75°)
OKLaboklab(41.39% -0.0052 -0.124)
OKLCHoklch(41.39% 0.124 267.6)
XYZxyz(8.1356, 6.7893, 26.4677)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E458E #8E772E
analogous
#2E758E #2E458E #472E8E
triadic
#2E458E #8E2E45 #458E2E
tetradic
#2E458E #8E2E75 #8E772E #2E8E47
square
#2E458E #8E2E75 #8E772E #2E8E47
split-complementary
#2E458E #8E472E #758E2E
monochromatic
#101832 #1F2F60 #2E458E #3D5BBC #6881CE

Accessibility & contrast

On white

8.91
#2E458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E458E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E458E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E458E#FFFFFF#000000##FFFFFF
##2E458E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4E91
Deuteranopia (green-blind)
#00468D
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e458e;
/* rgb */ color: rgb(46, 69, 142);
/* oklch */ color: oklch(41.4% 0.124 267.6);
Tailwind
colors: {
  custom: {
    50: '#7278b0',
    500: '#2e458e',
    950: '#000000',
  },
}
SCSS
$custom: #2e458e;
$custom-light: #7278b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e458e",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 225.625,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4139,
    "c": 0.12408,
    "h": 267.6
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#2E458E
secondary
#B5A163
accent
#B94DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F

Preview Lab

Preview with #2E458E

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

Preview Lab → · Contrast checker → · Palette generator →

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