#2E4BAD#2E4BAD

#2E4BAD is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.160 H 267.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2E4BAD
RGBrgb(46, 75, 173)
HSLhsl(226, 58%, 43%)
HSVhsv(226, 73%, 68%)
CMYKcmyk(73.4%, 56.6%, 0%, 32.2%)
CIE-LABlab(35.26, 24.06, -55.58)
CIE-LCHlch(35.26, 60.56, 293.41°)
OKLaboklab(45.08% -0.008 -0.1602)
OKLCHoklch(45.08% 0.16 267.1)
XYZxyz(11.1830, 8.6289, 40.6032)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BAD #AD902E
analogous
#2E8AAD #2E4BAD #502EAD
triadic
#2E4BAD #AD2E4B #4BAD2E
tetradic
#2E4BAD #AD2E8A #AD902E #2EAD50
square
#2E4BAD #AD2E8A #AD902E #2EAD50
split-complementary
#2E4BAD #AD502E #8AAD2E
monochromatic
#14214C #21367D #2E4BAD #4968CF #7A90DC

Accessibility & contrast

On white

7.70
#2E4BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2E4BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BAD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BAD#FFFFFF#000000##FFFFFF
##2E4BAD1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#004DAB
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4bad;
/* rgb */ color: rgb(46, 75, 173);
/* oklch */ color: oklch(45.1% 0.160 267.1);
Tailwind
colors: {
  custom: {
    50: '#787cc6',
    500: '#2e4bad',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bad;
$custom-light: #787cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bad",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 226.299,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45085,
    "c": 0.1604,
    "h": 267.1
  },
  "luminance": 0.0863
}

Semantic roles & 50–950 ramp

primary
#2E4BAD
secondary
#C4B173
accent
#BE47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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