#2E4BC0#2E4BC0

#2E4BC0 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.7% C 0.186 H 267.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2E4BC0
RGBrgb(46, 75, 192)
HSLhsl(228, 61%, 47%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(76%, 60.9%, 0%, 24.7%)
CIE-LABlab(36.78, 31.15, -64.31)
CIE-LCHlch(36.78, 71.46, 295.84°)
OKLaboklab(46.69% -0.0076 -0.1858)
OKLCHoklch(46.69% 0.186 267.7)
XYZxyz(13.1539, 9.4173, 50.9834)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BC0 #C0A32E
analogous
#2E94C0 #2E4BC0 #5A2EC0
triadic
#2E4BC0 #C02E4B #4BC02E
tetradic
#2E4BC0 #C02E94 #C0A32E #2EC05A
square
#2E4BC0 #C02E94 #C0A32E #2EC05A
split-complementary
#2E4BC0 #C05A2E #94C02E
monochromatic
#16245D #22388F #2E4BC0 #556FD6 #8699E2

Accessibility & contrast

On white

7.28
#2E4BC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2E4BC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BC0
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BC0#FFFFFF#000000##FFFFFF
##2E4BC01.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#0050BE
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4bc0;
/* rgb */ color: rgb(46, 75, 192);
/* oklch */ color: oklch(46.7% 0.186 267.7);
Tailwind
colors: {
  custom: {
    50: '#7d7dd4',
    500: '#2e4bc0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bc0;
$custom-light: #7d7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bc0",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 228.082,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4669,
    "c": 0.186,
    "h": 267.7
  },
  "luminance": 0.09419
}

Semantic roles & 50–950 ramp

primary
#2E4BC0
secondary
#CCBC7E
accent
#C443E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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