#2E489F#2E489F

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

Color values

HEX#2E489F
RGBrgb(46, 72, 159)
HSLhsl(226, 55%, 40%)
HSVhsv(226, 71%, 62%)
CMYKcmyk(71.1%, 54.7%, 0%, 37.6%)
CIE-LABlab(33.39, 20.78, -50.23)
CIE-LCHlch(33.39, 54.36, 292.47°)
OKLaboklab(43.34% -0.0064 -0.1445)
OKLCHoklch(43.34% 0.145 267.5)
XYZxyz(9.6999, 7.7178, 33.7727)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E489F #9F852E
analogous
#2E809F #2E489F #4D2E9F
triadic
#2E489F #9F2E48 #489F2E
tetradic
#2E489F #9F2E80 #9F852E #2E9F4D
square
#2E489F #9F2E80 #9F852E #2E9F4D
split-complementary
#2E489F #9F4D2E #809F2E
monochromatic
#131D40 #203370 #2E489F #4261C8 #7189D6

Accessibility & contrast

On white

8.26
#2E489F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E489F
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E489F#FFFFFF#000000##FFFFFF
##2E489F1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0454A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e489f;
/* rgb */ color: rgb(46, 72, 159);
/* oklch */ color: oklch(43.3% 0.145 267.5);
Tailwind
colors: {
  custom: {
    50: '#757abc',
    500: '#2e489f',
    950: '#000000',
  },
}
SCSS
$custom: #2e489f;
$custom-light: #757abc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e489f",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 159
  },
  "hsl": {
    "h": 226.195,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43343,
    "c": 0.14467,
    "h": 267.5
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#2E489F
secondary
#BEAB6B
accent
#BC49DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E489F

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

Preview Lab → · Contrast checker → · Palette generator →

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