#2E5FC0#2E5FC0

#2E5FC0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.7% C 0.162 H 262.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2E5FC0
RGBrgb(46, 95, 192)
HSLhsl(220, 61%, 47%)
HSVhsv(220, 76%, 75%)
CMYKcmyk(76%, 50.5%, 0%, 24.7%)
CIE-LABlab(42.11, 18.11, -55.65)
CIE-LCHlch(42.11, 58.52, 288.02°)
OKLaboklab(50.71% -0.022 -0.1601)
OKLCHoklch(50.71% 0.162 262.2)
XYZxyz(14.7299, 12.5694, 51.5088)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5FC0 #C08F2E
analogous
#2EA8C0 #2E5FC0 #462EC0
triadic
#2E5FC0 #C02E5F #5FC02E
tetradic
#2E5FC0 #C02EA8 #C08F2E #2EC046
square
#2E5FC0 #C02EA8 #C08F2E #2EC046
split-complementary
#2E5FC0 #C0462E #A8C02E
monochromatic
#162E5D #22478F #2E5FC0 #5580D6 #86A5E2

Accessibility & contrast

On white

5.98
#2E5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2E5FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5FC0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5FC0#FFFFFF#000000##FFFFFF
##2E5FC01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5fc0;
/* rgb */ color: rgb(46, 95, 192);
/* oklch */ color: oklch(50.7% 0.162 262.2);
Tailwind
colors: {
  custom: {
    50: '#7c8bd4',
    500: '#2e5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5fc0;
$custom-light: #7c8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5fc0",
  "rgb": {
    "r": 46,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 219.863,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50707,
    "c": 0.16159,
    "h": 262.2
  },
  "luminance": 0.12571
}

Semantic roles & 50–950 ramp

primary
#2E5FC0
secondary
#CCB27E
accent
#AE43E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2E5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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