#2D5EBC#2D5EBC

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

Color values

HEX#2D5EBC
RGBrgb(45, 94, 188)
HSLhsl(219, 61%, 46%)
HSVhsv(219, 76%, 74%)
CMYKcmyk(76.1%, 50%, 0%, 26.3%)
CIE-LABlab(41.52, 17.12, -54.27)
CIE-LCHlch(41.52, 56.91, 287.51°)
OKLaboklab(50.16% -0.0225 -0.156)
OKLCHoklch(50.16% 0.158 261.8)
XYZxyz(14.1587, 12.1925, 49.1744)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5EBC #BC8B2D
analogous
#2DA5BC #2D5EBC #442DBC
triadic
#2D5EBC #BC2D5E #5EBC2D
tetradic
#2D5EBC #BC2DA5 #BC8B2D #2DBC44
square
#2D5EBC #BC2DA5 #BC8B2D #2DBC44
split-complementary
#2D5EBC #BC442D #A5BC2D
monochromatic
#152D59 #21458B #2D5EBC #517ED5 #82A3E1

Accessibility & contrast

On white

6.11
#2D5EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2D5EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5EBC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5EBC#FFFFFF#000000##FFFFFF
##2D5EBC1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2d5ebc;
/* rgb */ color: rgb(45, 94, 188);
/* oklch */ color: oklch(50.2% 0.158 261.8);
Tailwind
colors: {
  custom: {
    50: '#7a8bd1',
    500: '#2d5ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ebc;
$custom-light: #7a8bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ebc",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 188
  },
  "hsl": {
    "h": 219.441,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50162,
    "c": 0.15766,
    "h": 261.8
  },
  "luminance": 0.12194
}

Semantic roles & 50–950 ramp

primary
#2D5EBC
secondary
#CAAF7B
accent
#AD43E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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