#2D4BCD#2D4BCD

#2D4BCD is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 47.8% C 0.203 H 267.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2D4BCD
RGBrgb(45, 75, 205)
HSLhsl(229, 64%, 49%)
HSVhsv(229, 78%, 80%)
CMYKcmyk(78%, 63.4%, 0%, 19.6%)
CIE-LABlab(37.84, 35.81, -70.15)
CIE-LCHlch(37.84, 78.76, 297.05°)
OKLaboklab(47.8% -0.0086 -0.203)
OKLCHoklch(47.8% 0.203 267.6)
XYZxyz(14.6139, 9.9961, 58.9050)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BCD #CDAF2D
analogous
#2D9BCD #2D4BCD #5F2DCD
triadic
#2D4BCD #CD2D4B #4BCD2D
tetradic
#2D4BCD #CD2D9B #CDAF2D #2DCD5F
square
#2D4BCD #CD2D9B #CDAF2D #2DCD5F
split-complementary
#2D4BCD #CD5F2D #9BCD2D
monochromatic
#172669 #22399B #2D4BCD #5C74DB #8E9FE6

Accessibility & contrast

On white

7.00
#2D4BCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2D4BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D4BCD
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BCD#FFFFFF#000000##FFFFFF
##2D4BCD1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#0052CB
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2d4bcd;
/* rgb */ color: rgb(45, 75, 205);
/* oklch */ color: oklch(47.8% 0.203 267.6);
Tailwind
colors: {
  custom: {
    50: '#807ddd',
    500: '#2d4bcd',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bcd;
$custom-light: #807ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bcd",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 228.75,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47803,
    "c": 0.20314,
    "h": 267.6
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#2D4BCD
secondary
#D1C285
accent
#C841E7
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #2D4BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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