#2D5BBC#2D5BBC

#2D5BBC is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.161 H 262.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2D5BBC
RGBrgb(45, 91, 188)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 76%, 74%)
CMYKcmyk(76.1%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.69, 19.08, -55.62)
CIE-LCHlch(40.69, 58.80, 288.93°)
OKLaboklab(49.53% -0.0201 -0.1601)
OKLCHoklch(49.53% 0.161 262.8)
XYZxyz(13.8971, 11.6693, 49.0872)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BBC #BC8E2D
analogous
#2DA2BC #2D5BBC #462DBC
triadic
#2D5BBC #BC2D5B #5BBC2D
tetradic
#2D5BBC #BC2DA2 #BC8E2D #2DBC46
square
#2D5BBC #BC2DA2 #BC8E2D #2DBC46
split-complementary
#2D5BBC #BC462D #A2BC2D
monochromatic
#152B59 #21438B #2D5BBC #517BD5 #82A1E1

Accessibility & contrast

On white

6.30
#2D5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2D5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BBC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BBC#FFFFFF#000000##FFFFFF
##2D5BBC1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5bbc;
/* rgb */ color: rgb(45, 91, 188);
/* oklch */ color: oklch(49.5% 0.161 262.8);
Tailwind
colors: {
  custom: {
    50: '#7b88d1',
    500: '#2d5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bbc;
$custom-light: #7b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bbc",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 220.699,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49525,
    "c": 0.16134,
    "h": 262.8
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#2D5BBC
secondary
#CAB17B
accent
#B143E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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