#2D5CB1#2D5CB1

#2D5CB1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.145 H 261.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2D5CB1
RGBrgb(45, 92, 177)
HSLhsl(219, 59%, 44%)
HSVhsv(219, 75%, 69%)
CMYKcmyk(74.6%, 48%, 0%, 30.6%)
CIE-LABlab(40.22, 14.23, -49.92)
CIE-LCHlch(40.22, 51.91, 285.91°)
OKLaboklab(48.93% -0.0224 -0.1433)
OKLCHoklch(48.93% 0.145 261.1)
XYZxyz(12.8423, 11.3851, 43.1072)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CB1 #B1822D
analogous
#2D9EB1 #2D5CB1 #402DB1
triadic
#2D5CB1 #B12D5C #5CB12D
tetradic
#2D5CB1 #B12D9E #B1822D #2DB140
square
#2D5CB1 #B12D9E #B1822D #2DB140
split-complementary
#2D5CB1 #B1402D #9EB12D
monochromatic
#14294F #214380 #2D5CB1 #4A7AD1 #7B9EDD

Accessibility & contrast

On white

6.41
#2D5CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2D5CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CB1
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CB1#FFFFFF#000000##FFFFFF
##2D5CB11.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D65B4
Deuteranopia (green-blind)
#0559AF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5cb1;
/* rgb */ color: rgb(45, 92, 177);
/* oklch */ color: oklch(48.9% 0.145 261.1);
Tailwind
colors: {
  custom: {
    50: '#7889c9',
    500: '#2d5cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cb1;
$custom-light: #7889c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cb1",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 218.636,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.14503,
    "h": 261.1
  },
  "luminance": 0.11387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D5CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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