#2D4ABE#2D4ABE

#2D4ABE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.185 H 267.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2D4ABE
RGBrgb(45, 74, 190)
HSLhsl(228, 62%, 46%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(76.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(36.31, 30.95, -63.90)
CIE-LCHlch(36.31, 71.00, 295.84°)
OKLaboklab(46.28% -0.0078 -0.1847)
OKLCHoklch(46.28% 0.185 267.6)
XYZxyz(12.8220, 9.1717, 49.7998)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4ABE #BEA12D
analogous
#2D92BE #2D4ABE #582DBE
triadic
#2D4ABE #BE2D4A #4ABE2D
tetradic
#2D4ABE #BE2D92 #BEA12D #2DBE58
square
#2D4ABE #BE2D92 #BEA12D #2DBE58
split-complementary
#2D4ABE #BE582D #92BE2D
monochromatic
#16235B #21378D #2D4ABE #526DD6 #8496E2

Accessibility & contrast

On white

7.41
#2D4ABE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4ABE
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4ABE#FFFFFF#000000##FFFFFF
##2D4ABE1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4abe;
/* rgb */ color: rgb(45, 74, 190);
/* oklch */ color: oklch(46.3% 0.185 267.6);
Tailwind
colors: {
  custom: {
    50: '#7c7cd3',
    500: '#2d4abe',
    950: '#000000',
  },
}
SCSS
$custom: #2d4abe;
$custom-light: #7c7cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4abe",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 228,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46283,
    "c": 0.18483,
    "h": 267.6
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#2D4ABE
secondary
#CBBB7C
accent
#C443E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D4ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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