#2E458C#2E458C

#2E458C is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.2% C 0.121 H 267.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2E458C
RGBrgb(46, 69, 140)
HSLhsl(225, 51%, 36%)
HSVhsv(225, 67%, 55%)
CMYKcmyk(67.1%, 50.7%, 0%, 45.1%)
CIE-LABlab(31.18, 15.62, -42.22)
CIE-LCHlch(31.18, 45.02, 290.31°)
OKLaboklab(41.24% -0.0055 -0.121)
OKLCHoklch(41.24% 0.121 267.4)
XYZxyz(7.9868, 6.7298, 25.6839)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E458C #8C752E
analogous
#2E748C #2E458C #462E8C
triadic
#2E458C #8C2E45 #458C2E
tetradic
#2E458C #8C2E74 #8C752E #2E8C46
square
#2E458C #8C2E74 #8C752E #2E8C46
split-complementary
#2E458C #8C462E #748C2E
monochromatic
#101830 #1F2E5E #2E458C #3D5CBA #6780CD

Accessibility & contrast

On white

8.95
#2E458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E458C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E458C#FFFFFF#000000##FFFFFF
##2E458C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#05458B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e458c;
/* rgb */ color: rgb(46, 69, 140);
/* oklch */ color: oklch(41.2% 0.121 267.4);
Tailwind
colors: {
  custom: {
    50: '#7278ae',
    500: '#2e458c',
    950: '#000000',
  },
}
SCSS
$custom: #2e458c;
$custom-light: #7278ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2e458c",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 225.319,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.12113,
    "h": 267.4
  },
  "luminance": 0.06731
}

Semantic roles & 50–950 ramp

primary
#2E458C
secondary
#B4A062
accent
#B84EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E458C

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

Preview Lab → · Contrast checker → · Palette generator →

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