#2E4CC0#2E4CC0

#2E4CC0 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.185 H 267.5°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4CC0
RGBrgb(46, 76, 192)
HSLhsl(228, 61%, 47%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(76%, 60.4%, 0%, 24.7%)
CIE-LABlab(37.03, 30.50, -63.90)
CIE-LCHlch(37.03, 70.80, 295.52°)
OKLaboklab(46.88% -0.0082 -0.1846)
OKLCHoklch(46.88% 0.185 267.5)
XYZxyz(13.2223, 9.5540, 51.0062)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CC0 #C0A22E
analogous
#2E95C0 #2E4CC0 #592EC0
triadic
#2E4CC0 #C02E4C #4CC02E
tetradic
#2E4CC0 #C02E95 #C0A22E #2EC059
square
#2E4CC0 #C02E95 #C0A22E #2EC059
split-complementary
#2E4CC0 #C0592E #95C02E
monochromatic
#16255D #22388F #2E4CC0 #5570D6 #8699E2

Accessibility & contrast

On white

7.21
#2E4CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E4CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CC0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CC0#FFFFFF#000000##FFFFFF
##2E4CC01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4cc0;
/* rgb */ color: rgb(46, 76, 192);
/* oklch */ color: oklch(46.9% 0.185 267.5);
Tailwind
colors: {
  custom: {
    50: '#7d7dd4',
    500: '#2e4cc0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4cc0;
$custom-light: #7d7dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4cc0",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 192
  },
  "hsl": {
    "h": 227.671,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.46879,
    "c": 0.1848,
    "h": 267.5
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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