#2E47B9#2E47B9

#2E47B9 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.182 H 268.5°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2E47B9
RGBrgb(46, 71, 185)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 73%)
CMYKcmyk(75.1%, 61.6%, 0%, 27.5%)
CIE-LABlab(35.18, 31.16, -62.81)
CIE-LCHlch(35.18, 70.11, 296.38°)
OKLaboklab(45.33% -0.0049 -0.1815)
OKLCHoklch(45.33% 0.182 268.5)
XYZxyz(12.1339, 8.5888, 46.9078)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E47B9 #B9A02E
analogous
#2E8CB9 #2E47B9 #5B2EB9
triadic
#2E47B9 #B92E47 #47B92E
tetradic
#2E47B9 #B92E8C #B9A02E #2EB95B
square
#2E47B9 #B92E8C #B9A02E #2EB95B
split-complementary
#2E47B9 #B95B2E #8CB92E
monochromatic
#162157 #223488 #2E47B9 #5168D4 #8293E0

Accessibility & contrast

On white

7.73
#2E47B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E47B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E47B9
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E47B9#FFFFFF#000000##FFFFFF
##2E47B91.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e47b9;
/* rgb */ color: rgb(46, 71, 185);
/* oklch */ color: oklch(45.3% 0.182 268.5);
Tailwind
colors: {
  custom: {
    50: '#7b7acf',
    500: '#2e47b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e47b9;
$custom-light: #7b7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e47b9",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 185
  },
  "hsl": {
    "h": 229.209,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.18156,
    "h": 268.5
  },
  "luminance": 0.0859
}

Semantic roles & 50–950 ramp

primary
#2E47B9
secondary
#C9BB7A
accent
#C744E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E47B9

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

Preview Lab → · Contrast checker → · Palette generator →

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