#2E4FBF#2E4FBF

#2E4FBF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.4% C 0.180 H 266.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#2E4FBF
RGBrgb(46, 79, 191)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(75.9%, 58.6%, 0%, 25.1%)
CIE-LABlab(37.72, 28.17, -62.18)
CIE-LCHlch(37.72, 68.27, 294.37°)
OKLaboklab(47.37% -0.0102 -0.1796)
OKLCHoklch(47.37% 0.18 266.7)
XYZxyz(13.3234, 9.9329, 50.4952)
Luminance0.0993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FBF #BF9E2E
analogous
#2E98BF #2E4FBF #562EBF
triadic
#2E4FBF #BF2E4F #4FBF2E
tetradic
#2E4FBF #BF2E98 #BF9E2E #2EBF56
square
#2E4FBF #BF2E98 #BF9E2E #2EBF56
split-complementary
#2E4FBF #BF562E #98BF2E
monochromatic
#16265C #223B8E #2E4FBF #5472D6 #869BE2

Accessibility & contrast

On white

7.03
#2E4FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#2E4FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FBF
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FBF#FFFFFF#000000##FFFFFF
##2E4FBF1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2e4fbf;
/* rgb */ color: rgb(46, 79, 191);
/* oklch */ color: oklch(47.4% 0.180 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fd3',
    500: '#2e4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fbf;
$custom-light: #7c7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fbf",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 226.345,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4737,
    "c": 0.17985,
    "h": 266.7
  },
  "luminance": 0.09934
}

Semantic roles & 50–950 ramp

primary
#2E4FBF
secondary
#CBBA7E
accent
#C044E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2E4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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