#2D4BBA#2D4BBA

#2D4BBA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.178 H 267.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2D4BBA
RGBrgb(45, 75, 186)
HSLhsl(227, 61%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(75.8%, 59.7%, 0%, 27.1%)
CIE-LABlab(36.24, 28.81, -61.67)
CIE-LCHlch(36.24, 68.07, 295.04°)
OKLaboklab(46.13% -0.0085 -0.1781)
OKLCHoklch(46.13% 0.178 267.3)
XYZxyz(12.4581, 9.1338, 47.5513)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BBA #BA9C2D
analogous
#2D91BA #2D4BBA #552DBA
triadic
#2D4BBA #BA2D4B #4BBA2D
tetradic
#2D4BBA #BA2D91 #BA9C2D #2DBA55
square
#2D4BBA #BA2D91 #BA9C2D #2DBA55
split-complementary
#2D4BBA #BA552D #91BA2D
monochromatic
#152357 #213789 #2D4BBA #506CD5 #8195E0

Accessibility & contrast

On white

7.43
#2D4BBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2D4BBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4BBA
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BBA#FFFFFF#000000##FFFFFF
##2D4BBA1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4bba;
/* rgb */ color: rgb(45, 75, 186);
/* oklch */ color: oklch(46.1% 0.178 267.3);
Tailwind
colors: {
  custom: {
    50: '#7b7cd0',
    500: '#2d4bba',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bba;
$custom-light: #7b7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bba",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 186
  },
  "hsl": {
    "h": 227.234,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46128,
    "c": 0.17832,
    "h": 267.3
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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