#2E489E#2E489E

#2E489E is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.143 H 267.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2E489E
RGBrgb(46, 72, 158)
HSLhsl(226, 55%, 40%)
HSVhsv(226, 71%, 62%)
CMYKcmyk(70.9%, 54.4%, 0%, 38%)
CIE-LABlab(33.31, 20.40, -49.75)
CIE-LCHlch(33.31, 53.77, 292.30°)
OKLaboklab(43.26% -0.0065 -0.1431)
OKLCHoklch(43.26% 0.143 267.4)
XYZxyz(9.6135, 7.6832, 33.3175)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E489E #9E842E
analogous
#2E809E #2E489E #4C2E9E
triadic
#2E489E #9E2E48 #489E2E
tetradic
#2E489E #9E2E80 #9E842E #2E9E4C
square
#2E489E #9E2E80 #9E842E #2E9E4C
split-complementary
#2E489E #9E4C2E #809E2E
monochromatic
#121D3F #20326F #2E489E #4161C8 #7188D6

Accessibility & contrast

On white

8.28
#2E489E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E489E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E489E
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E489E#FFFFFF#000000##FFFFFF
##2E489E1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0854A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e489e;
/* rgb */ color: rgb(46, 72, 158);
/* oklch */ color: oklch(43.3% 0.143 267.4);
Tailwind
colors: {
  custom: {
    50: '#757abb',
    500: '#2e489e',
    950: '#000000',
  },
}
SCSS
$custom: #2e489e;
$custom-light: #757abb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e489e",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 158
  },
  "hsl": {
    "h": 226.071,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.14325,
    "h": 267.4
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#2E489E
secondary
#BDAA6B
accent
#BC4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E489E

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

Preview Lab → · Contrast checker → · Palette generator →

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