#2E4CBF#2E4CBF

#2E4CBF is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.183 H 267.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2E4CBF
RGBrgb(46, 76, 191)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(75.9%, 60.2%, 0%, 25.1%)
CIE-LABlab(36.95, 30.13, -63.45)
CIE-LCHlch(36.95, 70.24, 295.40°)
OKLaboklab(46.79% -0.0082 -0.1833)
OKLCHoklch(46.79% 0.183 267.4)
XYZxyz(13.1119, 9.5099, 50.4247)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CBF #BFA12E
analogous
#2E95BF #2E4CBF #592EBF
triadic
#2E4CBF #BF2E4C #4CBF2E
tetradic
#2E4CBF #BF2E95 #BFA12E #2EBF59
square
#2E4CBF #BF2E95 #BFA12E #2EBF59
split-complementary
#2E4CBF #BF592E #95BF2E
monochromatic
#16255C #22388E #2E4CBF #546FD6 #8699E2

Accessibility & contrast

On white

7.24
#2E4CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2E4CBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CBF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CBF#FFFFFF#000000##FFFFFF
##2E4CBF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4cbf;
/* rgb */ color: rgb(46, 76, 191);
/* oklch */ color: oklch(46.8% 0.183 267.4);
Tailwind
colors: {
  custom: {
    50: '#7c7dd3',
    500: '#2e4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2e4cbf;
$custom-light: #7c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4cbf",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 227.586,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46793,
    "c": 0.18348,
    "h": 267.4
  },
  "luminance": 0.09511
}

Semantic roles & 50–950 ramp

primary
#2E4CBF
secondary
#CBBB7E
accent
#C344E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2E4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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