#2E5FBD#2E5FBD

#2E5FBD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.158 H 261.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2E5FBD
RGBrgb(46, 95, 189)
HSLhsl(219, 61%, 46%)
HSVhsv(219, 76%, 74%)
CMYKcmyk(75.7%, 49.7%, 0%, 25.9%)
CIE-LABlab(41.90, 16.97, -54.24)
CIE-LCHlch(41.90, 56.83, 287.38°)
OKLaboklab(50.49% -0.0224 -0.1559)
OKLCHoklch(50.49% 0.158 261.8)
XYZxyz(14.4009, 12.4378, 49.7760)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FBD #BD8C2E
analogous
#2EA6BD #2E5FBD #452EBD
triadic
#2E5FBD #BD2E5F #5FBD2E
tetradic
#2E5FBD #BD2EA6 #BD8C2E #2EBD45
square
#2E5FBD #BD2EA6 #BD8C2E #2EBD45
split-complementary
#2E5FBD #BD452E #A6BD2E
monochromatic
#162E5B #22468C #2E5FBD #5380D5 #84A4E1

Accessibility & contrast

On white

6.02
#2E5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2E5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FBD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FBD#FFFFFF#000000##FFFFFF
##2E5FBD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5fbd;
/* rgb */ color: rgb(46, 95, 189);
/* oklch */ color: oklch(50.5% 0.158 261.8);
Tailwind
colors: {
  custom: {
    50: '#7b8bd1',
    500: '#2e5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fbd;
$custom-light: #7b8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fbd",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 219.441,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.15752,
    "h": 261.8
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#2E5FBD
secondary
#CAB07C
accent
#AD44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2E5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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