#2D4ABA#2D4ABA

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

Color values

HEX#2D4ABA
RGBrgb(45, 74, 186)
HSLhsl(228, 61%, 45%)
HSVhsv(228, 76%, 73%)
CMYKcmyk(75.8%, 60.2%, 0%, 27.1%)
CIE-LABlab(35.98, 29.46, -62.09)
CIE-LCHlch(35.98, 68.72, 295.38°)
OKLaboklab(45.94% -0.0078 -0.1794)
OKLCHoklch(45.94% 0.18 267.5)
XYZxyz(12.3908, 8.9993, 47.5289)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4ABA #BA9D2D
analogous
#2D90BA #2D4ABA #572DBA
triadic
#2D4ABA #BA2D4A #4ABA2D
tetradic
#2D4ABA #BA2D90 #BA9D2D #2DBA57
square
#2D4ABA #BA2D90 #BA9D2D #2DBA57
split-complementary
#2D4ABA #BA572D #90BA2D
monochromatic
#152357 #213689 #2D4ABA #506BD5 #8195E0

Accessibility & contrast

On white

7.50
#2D4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2D4ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4ABA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4ABA#FFFFFF#000000##FFFFFF
##2D4ABA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4aba;
/* rgb */ color: rgb(45, 74, 186);
/* oklch */ color: oklch(45.9% 0.180 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7cd0',
    500: '#2d4aba',
    950: '#000000',
  },
}
SCSS
$custom: #2d4aba;
$custom-light: #7b7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4aba",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 227.66,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.17953,
    "h": 267.5
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#2D4ABA
secondary
#C9B979
accent
#C344E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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