#2D49B9#2D49B9

#2D49B9 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.179 H 267.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2D49B9
RGBrgb(45, 73, 185)
HSLhsl(228, 61%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(75.7%, 60.5%, 0%, 27.5%)
CIE-LABlab(35.64, 29.74, -62.05)
CIE-LCHlch(35.64, 68.81, 295.61°)
OKLaboklab(45.66% -0.0071 -0.1793)
OKLCHoklch(45.66% 0.179 267.7)
XYZxyz(12.2186, 8.8244, 46.9489)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49B9 #B99D2D
analogous
#2D8FB9 #2D49B9 #572DB9
triadic
#2D49B9 #B92D49 #49B92D
tetradic
#2D49B9 #B92D8F #B99D2D #2DB957
square
#2D49B9 #B92D8F #B99D2D #2DB957
split-complementary
#2D49B9 #B9572D #8FB92D
monochromatic
#152257 #213688 #2D49B9 #4F6AD4 #8093E0

Accessibility & contrast

On white

7.59
#2D49B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D49B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49B9
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49B9#FFFFFF#000000##FFFFFF
##2D49B91.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d49b9;
/* rgb */ color: rgb(45, 73, 185);
/* oklch */ color: oklch(45.7% 0.179 267.7);
Tailwind
colors: {
  custom: {
    50: '#7b7bcf',
    500: '#2d49b9',
    950: '#000000',
  },
}
SCSS
$custom: #2d49b9;
$custom-light: #7b7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49b9",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 185
  },
  "hsl": {
    "h": 228,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.17941,
    "h": 267.7
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#2D49B9
secondary
#C9B979
accent
#C444E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D49B9

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

Preview Lab → · Contrast checker → · Palette generator →

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