#2D49BC#2D49BC

#2D49BC is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.183 H 267.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D49BC
RGBrgb(45, 73, 188)
HSLhsl(228, 61%, 46%)
HSVhsv(228, 76%, 74%)
CMYKcmyk(76.1%, 61.2%, 0%, 26.3%)
CIE-LABlab(35.89, 30.86, -63.41)
CIE-LCHlch(35.89, 70.52, 295.95°)
OKLaboklab(45.92% -0.0071 -0.1833)
OKLCHoklch(45.92% 0.183 267.8)
XYZxyz(12.5387, 8.9524, 48.6344)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49BC #BCA02D
analogous
#2D90BC #2D49BC #592DBC
triadic
#2D49BC #BC2D49 #49BC2D
tetradic
#2D49BC #BC2D90 #BCA02D #2DBC59
square
#2D49BC #BC2D90 #BCA02D #2DBC59
split-complementary
#2D49BC #BC592D #90BC2D
monochromatic
#152359 #21368B #2D49BC #516BD5 #8295E1

Accessibility & contrast

On white

7.52
#2D49BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D49BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49BC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49BC#FFFFFF#000000##FFFFFF
##2D49BC1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d49bc;
/* rgb */ color: rgb(45, 73, 188);
/* oklch */ color: oklch(45.9% 0.183 267.8);
Tailwind
colors: {
  custom: {
    50: '#7c7bd1',
    500: '#2d49bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d49bc;
$custom-light: #7c7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49bc",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 188
  },
  "hsl": {
    "h": 228.252,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.1834,
    "h": 267.8
  },
  "luminance": 0.08954
}

Semantic roles & 50–950 ramp

primary
#2D49BC
secondary
#CABB7B
accent
#C543E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D49BC

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

Preview Lab → · Contrast checker → · Palette generator →

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