#2D5CDB#2D5CDB

#2D5CDB is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.2% C 0.201 H 264.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2D5CDB
RGBrgb(45, 92, 219)
HSLhsl(224, 71%, 52%)
HSVhsv(224, 79%, 86%)
CMYKcmyk(79.5%, 58%, 0%, 14.1%)
CIE-LABlab(43.25, 30.10, -69.34)
CIE-LCHlch(43.25, 75.59, 293.46°)
OKLaboklab(52.18% -0.0185 -0.2004)
OKLCHoklch(52.18% 0.201 264.7)
XYZxyz(17.6910, 13.3246, 68.6436)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CDB #DBAC2D
analogous
#2DB3DB #2D5CDB #552DDB
triadic
#2D5CDB #DB2D5C #5CDB2D
tetradic
#2D5CDB #DB2DB3 #DBAC2D #2DDB55
square
#2D5CDB #DB2DB3 #DBAC2D #2DDB55
split-complementary
#2D5CDB #DB552D #B3DB2D
monochromatic
#153079 #1E44AD #2D5CDB #6185E4 #95ADED

Accessibility & contrast

On white

5.73
#2D5CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#2D5CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CDB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CDB#FFFFFF#000000##FFFFFF
##2D5CDB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2d5cdb;
/* rgb */ color: rgb(45, 92, 219);
/* oklch */ color: oklch(52.2% 0.201 264.7);
Tailwind
colors: {
  custom: {
    50: '#8289e7',
    500: '#2d5cdb',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cdb;
$custom-light: #8289e7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cdb",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 223.793,
    "s": 70.732,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.20124,
    "h": 264.7
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

primary
#2D5CDB
secondary
#D8C38C
accent
#BD3AED
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0C0B16
muted
#7D7C84

Preview Lab

Preview with #2D5CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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