#2D5CB2#2D5CB2

#2D5CB2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.146 H 261.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2D5CB2
RGBrgb(45, 92, 178)
HSLhsl(219, 60%, 44%)
HSVhsv(219, 75%, 70%)
CMYKcmyk(74.7%, 48.3%, 0%, 30.2%)
CIE-LABlab(40.29, 14.62, -50.41)
CIE-LCHlch(40.29, 52.48, 286.17°)
OKLaboklab(49% -0.0222 -0.1447)
OKLCHoklch(49% 0.146 261.3)
XYZxyz(12.9423, 11.4251, 43.6340)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CB2 #B2832D
analogous
#2D9EB2 #2D5CB2 #402DB2
triadic
#2D5CB2 #B22D5C #5CB22D
tetradic
#2D5CB2 #B22D9E #B2832D #2DB240
square
#2D5CB2 #B22D9E #B2832D #2DB240
split-complementary
#2D5CB2 #B2402D #9EB22D
monochromatic
#142A50 #214381 #2D5CB2 #4B7AD1 #7C9EDE

Accessibility & contrast

On white

6.39
#2D5CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2D5CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CB2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CB2#FFFFFF#000000##FFFFFF
##2D5CB21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#0159B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5cb2;
/* rgb */ color: rgb(45, 92, 178);
/* oklch */ color: oklch(49.0% 0.146 261.3);
Tailwind
colors: {
  custom: {
    50: '#7889ca',
    500: '#2d5cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cb2;
$custom-light: #7889ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cb2",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 218.797,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49004,
    "c": 0.14641,
    "h": 261.3
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

primary
#2D5CB2
secondary
#C6A975
accent
#AB45E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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