#2D4CBA#2D4CBA

#2D4CBA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.177 H 267.0°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4CBA
RGBrgb(45, 76, 186)
HSLhsl(227, 61%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(75.8%, 59.1%, 0%, 27.1%)
CIE-LABlab(36.50, 28.16, -61.25)
CIE-LCHlch(36.50, 67.41, 294.69°)
OKLaboklab(46.32% -0.0091 -0.1769)
OKLCHoklch(46.32% 0.177 267)
XYZxyz(12.5265, 9.2706, 47.5741)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CBA #BA9B2D
analogous
#2D92BA #2D4CBA #552DBA
triadic
#2D4CBA #BA2D4C #4CBA2D
tetradic
#2D4CBA #BA2D92 #BA9B2D #2DBA55
square
#2D4CBA #BA2D92 #BA9B2D #2DBA55
split-complementary
#2D4CBA #BA552D #92BA2D
monochromatic
#152457 #213889 #2D4CBA #506DD5 #8196E0

Accessibility & contrast

On white

7.36
#2D4CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D4CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CBA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CBA#FFFFFF#000000##FFFFFF
##2D4CBA1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4cba;
/* rgb */ color: rgb(45, 76, 186);
/* oklch */ color: oklch(46.3% 0.177 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7dd0',
    500: '#2d4cba',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cba;
$custom-light: #7b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cba",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 226.809,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.1771,
    "h": 267
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#2D4CBA
secondary
#C9B879
accent
#C144E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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