#2E458A#2E458A

#2E458A is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.118 H 267.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E458A
RGBrgb(46, 69, 138)
HSLhsl(225, 50%, 36%)
HSVhsv(225, 67%, 54%)
CMYKcmyk(66.7%, 50%, 0%, 45.9%)
CIE-LABlab(31.05, 14.87, -41.21)
CIE-LCHlch(31.05, 43.81, 289.84°)
OKLaboklab(41.09% -0.0057 -0.118)
OKLCHoklch(41.09% 0.118 267.2)
XYZxyz(7.8407, 6.6713, 24.9143)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E458A #8A732E
analogous
#2E738A #2E458A #452E8A
triadic
#2E458A #8A2E45 #458A2E
tetradic
#2E458A #8A2E73 #8A732E #2E8A45
square
#2E458A #8A2E73 #8A732E #2E8A45
split-complementary
#2E458A #8A452E #738A2E
monochromatic
#0F172E #1F2E5C #2E458A #3D5CB8 #6680CC

Accessibility & contrast

On white

9.00
#2E458A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E458A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E458A
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E458A#FFFFFF#000000##FFFFFF
##2E458A1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8D
Deuteranopia (green-blind)
#0B4589
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e458a;
/* rgb */ color: rgb(46, 69, 138);
/* oklch */ color: oklch(41.1% 0.118 267.2);
Tailwind
colors: {
  custom: {
    50: '#7178ad',
    500: '#2e458a',
    950: '#000000',
  },
}
SCSS
$custom: #2e458a;
$custom-light: #7178ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e458a",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 138
  },
  "hsl": {
    "h": 225,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.11818,
    "h": 267.2
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E458A

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

Preview Lab → · Contrast checker → · Palette generator →

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