#2D5DBC#2D5DBC

#2D5DBC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.159 H 262.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2D5DBC
RGBrgb(45, 93, 188)
HSLhsl(220, 61%, 46%)
HSVhsv(220, 76%, 74%)
CMYKcmyk(76.1%, 50.5%, 0%, 26.3%)
CIE-LABlab(41.24, 17.77, -54.72)
CIE-LCHlch(41.24, 57.54, 287.99°)
OKLaboklab(49.95% -0.0217 -0.1574)
OKLCHoklch(49.95% 0.159 262.2)
XYZxyz(14.0704, 12.0158, 49.1449)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5DBC #BC8C2D
analogous
#2DA4BC #2D5DBC #442DBC
triadic
#2D5DBC #BC2D5D #5DBC2D
tetradic
#2D5DBC #BC2DA4 #BC8C2D #2DBC44
square
#2D5DBC #BC2DA4 #BC8C2D #2DBC44
split-complementary
#2D5DBC #BC442D #A4BC2D
monochromatic
#152C59 #21458B #2D5DBC #517DD5 #82A2E1

Accessibility & contrast

On white

6.17
#2D5DBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2D5DBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5DBC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5DBC#FFFFFF#000000##FFFFFF
##2D5DBC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5dbc;
/* rgb */ color: rgb(45, 93, 188);
/* oklch */ color: oklch(49.9% 0.159 262.2);
Tailwind
colors: {
  custom: {
    50: '#7a8ad1',
    500: '#2d5dbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d5dbc;
$custom-light: #7a8ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5dbc",
  "rgb": {
    "r": 45,
    "g": 93,
    "b": 188
  },
  "hsl": {
    "h": 219.86,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.15889,
    "h": 262.2
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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