#2D49BB#2D49BB

#2D49BB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.182 H 267.8°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2D49BB
RGBrgb(45, 73, 187)
HSLhsl(228, 61%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(75.9%, 61%, 0%, 26.7%)
CIE-LABlab(35.81, 30.49, -62.96)
CIE-LCHlch(35.81, 69.95, 295.84°)
OKLaboklab(45.83% -0.0071 -0.1819)
OKLCHoklch(45.83% 0.182 267.8)
XYZxyz(12.4313, 8.9095, 48.0686)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49BB #BB9F2D
analogous
#2D90BB #2D49BB #582DBB
triadic
#2D49BB #BB2D49 #49BB2D
tetradic
#2D49BB #BB2D90 #BB9F2D #2DBB58
square
#2D49BB #BB2D90 #BB9F2D #2DBB58
split-complementary
#2D49BB #BB582D #90BB2D
monochromatic
#152258 #21368A #2D49BB #506AD5 #8294E1

Accessibility & contrast

On white

7.55
#2D49BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2D49BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49BB
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49BB#FFFFFF#000000##FFFFFF
##2D49BB1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004EB9
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d49bb;
/* rgb */ color: rgb(45, 73, 187);
/* oklch */ color: oklch(45.8% 0.182 267.8);
Tailwind
colors: {
  custom: {
    50: '#7b7bd0',
    500: '#2d49bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d49bb;
$custom-light: #7b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49bb",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 228.169,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.18207,
    "h": 267.8
  },
  "luminance": 0.08911
}

Semantic roles & 50–950 ramp

primary
#2D49BB
secondary
#CABA7A
accent
#C543E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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