#2D5BB3#2D5BB3

#2D5BB3 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.149 H 261.8°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2D5BB3
RGBrgb(45, 91, 179)
HSLhsl(219, 60%, 44%)
HSVhsv(219, 75%, 70%)
CMYKcmyk(74.9%, 49.2%, 0%, 29.8%)
CIE-LABlab(40.07, 15.65, -51.34)
CIE-LCHlch(40.07, 53.67, 286.95°)
OKLaboklab(48.86% -0.0213 -0.1475)
OKLCHoklch(48.86% 0.149 261.8)
XYZxyz(12.9570, 11.2933, 44.1360)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5BB3 #B3852D
analogous
#2D9EB3 #2D5BB3 #422DB3
triadic
#2D5BB3 #B32D5B #5BB32D
tetradic
#2D5BB3 #B32D9E #B3852D #2DB342
square
#2D5BB3 #B32D9E #B3852D #2DB342
split-complementary
#2D5BB3 #B3422D #9EB32D
monochromatic
#142951 #214282 #2D5BB3 #4B7AD2 #7C9EDE

Accessibility & contrast

On white

6.44
#2D5BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2D5BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5BB3
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5BB3#FFFFFF#000000##FFFFFF
##2D5BB31.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5bb3;
/* rgb */ color: rgb(45, 91, 179);
/* oklch */ color: oklch(48.9% 0.149 261.8);
Tailwind
colors: {
  custom: {
    50: '#7988ca',
    500: '#2d5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2d5bb3;
$custom-light: #7988ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5bb3",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 219.403,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48859,
    "c": 0.14901,
    "h": 261.8
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#2D5BB3
secondary
#C7AB75
accent
#AD45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2D5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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