#2D5CB4#2D5CB4

#2D5CB4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.149 H 261.5°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2D5CB4
RGBrgb(45, 92, 180)
HSLhsl(219, 60%, 44%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(75%, 48.9%, 0%, 29.4%)
CIE-LABlab(40.42, 15.38, -51.37)
CIE-LCHlch(40.42, 53.62, 286.67°)
OKLaboklab(49.15% -0.0219 -0.1475)
OKLCHoklch(49.15% 0.149 261.5)
XYZxyz(13.1446, 11.5060, 44.6993)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CB4 #B4852D
analogous
#2DA0B4 #2D5CB4 #422DB4
triadic
#2D5CB4 #B42D5C #5CB42D
tetradic
#2D5CB4 #B42DA0 #B4852D #2DB442
square
#2D5CB4 #B42DA0 #B4852D #2DB442
split-complementary
#2D5CB4 #B4422D #A0B42D
monochromatic
#152A52 #214383 #2D5CB4 #4C7BD2 #7D9FDE

Accessibility & contrast

On white

6.36
#2D5CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2D5CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CB4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CB4#FFFFFF#000000##FFFFFF
##2D5CB41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A66B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5cb4;
/* rgb */ color: rgb(45, 92, 180);
/* oklch */ color: oklch(49.1% 0.149 261.5);
Tailwind
colors: {
  custom: {
    50: '#7989cb',
    500: '#2d5cb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cb4;
$custom-light: #7989cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cb4",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 219.111,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49148,
    "c": 0.14916,
    "h": 261.5
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#2D5CB4
secondary
#C7AB76
accent
#AC45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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