#2D4DBA#2D4DBA

#2D4DBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.176 H 266.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2D4DBA
RGBrgb(45, 77, 186)
HSLhsl(226, 61%, 45%)
HSVhsv(226, 76%, 73%)
CMYKcmyk(75.8%, 58.6%, 0%, 27.1%)
CIE-LABlab(36.76, 27.50, -60.82)
CIE-LCHlch(36.76, 66.75, 294.33°)
OKLaboklab(46.52% -0.0098 -0.1756)
OKLCHoklch(46.52% 0.176 266.8)
XYZxyz(12.5959, 9.4094, 47.5972)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DBA #BA9A2D
analogous
#2D93BA #2D4DBA #532DBA
triadic
#2D4DBA #BA2D4D #4DBA2D
tetradic
#2D4DBA #BA2D93 #BA9A2D #2DBA53
square
#2D4DBA #BA2D93 #BA9A2D #2DBA53
split-complementary
#2D4DBA #BA532D #93BA2D
monochromatic
#152457 #213989 #2D4DBA #506ED5 #8197E0

Accessibility & contrast

On white

7.29
#2D4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2D4DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DBA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DBA#FFFFFF#000000##FFFFFF
##2D4DBA1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4dba;
/* rgb */ color: rgb(45, 77, 186);
/* oklch */ color: oklch(46.5% 0.176 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7ed0',
    500: '#2d4dba',
    950: '#000000',
  },
}
SCSS
$custom: #2d4dba;
$custom-light: #7b7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4dba",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 226.383,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.17588,
    "h": 266.8
  },
  "luminance": 0.09411
}

Semantic roles & 50–950 ramp

primary
#2D4DBA
secondary
#C9B779
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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