#2E5FBC#2E5FBC

#2E5FBC is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.156 H 261.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2E5FBC
RGBrgb(46, 95, 188)
HSLhsl(219, 61%, 46%)
HSVhsv(219, 76%, 74%)
CMYKcmyk(75.5%, 49.5%, 0%, 26.3%)
CIE-LABlab(41.84, 16.59, -53.76)
CIE-LCHlch(41.84, 56.26, 287.15°)
OKLaboklab(50.41% -0.0226 -0.1545)
OKLCHoklch(50.41% 0.156 261.7)
XYZxyz(14.2928, 12.3945, 49.2063)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FBC #BC8B2E
analogous
#2EA6BC #2E5FBC #442EBC
triadic
#2E5FBC #BC2E5F #5FBC2E
tetradic
#2E5FBC #BC2EA6 #BC8B2E #2EBC44
square
#2E5FBC #BC2EA6 #BC8B2E #2EBC44
split-complementary
#2E5FBC #BC442E #A6BC2E
monochromatic
#162D5A #22468B #2E5FBC #527FD5 #84A4E1

Accessibility & contrast

On white

6.04
#2E5FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2E5FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FBC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FBC#FFFFFF#000000##FFFFFF
##2E5FBC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286ABF
Deuteranopia (green-blind)
#005DBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5fbc;
/* rgb */ color: rgb(46, 95, 188);
/* oklch */ color: oklch(50.4% 0.156 261.7);
Tailwind
colors: {
  custom: {
    50: '#7b8bd1',
    500: '#2e5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fbc;
$custom-light: #7b8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fbc",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 219.296,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.15616,
    "h": 261.7
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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