#2E4ABD#2E4ABD

#2E4ABD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.183 H 267.8°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2E4ABD
RGBrgb(46, 74, 189)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 74%)
CMYKcmyk(75.7%, 60.8%, 0%, 25.9%)
CIE-LABlab(36.27, 30.69, -63.38)
CIE-LCHlch(36.27, 70.41, 295.84°)
OKLaboklab(46.24% -0.0069 -0.1831)
OKLCHoklch(46.24% 0.183 267.8)
XYZxyz(12.7576, 9.1511, 49.2282)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4ABD #BDA12E
analogous
#2E91BD #2E4ABD #592EBD
triadic
#2E4ABD #BD2E4A #4ABD2E
tetradic
#2E4ABD #BD2E91 #BDA12E #2EBD59
square
#2E4ABD #BD2E91 #BDA12E #2EBD59
split-complementary
#2E4ABD #BD592E #91BD2E
monochromatic
#16235B #22378C #2E4ABD #536DD5 #8496E1

Accessibility & contrast

On white

7.42
#2E4ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2E4ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4ABD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4ABD#FFFFFF#000000##FFFFFF
##2E4ABD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4abd;
/* rgb */ color: rgb(46, 74, 189);
/* oklch */ color: oklch(46.2% 0.183 267.8);
Tailwind
colors: {
  custom: {
    50: '#7c7cd2',
    500: '#2e4abd',
    950: '#000000',
  },
}
SCSS
$custom: #2e4abd;
$custom-light: #7c7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4abd",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 228.252,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46241,
    "c": 0.18325,
    "h": 267.8
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#2E4ABD
secondary
#CABB7C
accent
#C544E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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