#2D4CB9#2D4CB9

#2D4CB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.176 H 267.0°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4CB9
RGBrgb(45, 76, 185)
HSLhsl(227, 61%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(75.7%, 58.9%, 0%, 27.5%)
CIE-LABlab(36.42, 27.78, -60.79)
CIE-LCHlch(36.42, 66.84, 294.56°)
OKLaboklab(46.24% -0.0092 -0.1755)
OKLCHoklch(46.24% 0.176 267)
XYZxyz(12.4205, 9.2282, 47.0162)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CB9 #B99A2D
analogous
#2D92B9 #2D4CB9 #542DB9
triadic
#2D4CB9 #B92D4C #4CB92D
tetradic
#2D4CB9 #B92D92 #B99A2D #2DB954
square
#2D4CB9 #B92D92 #B99A2D #2DB954
split-complementary
#2D4CB9 #B9542D #92B92D
monochromatic
#152457 #213888 #2D4CB9 #4F6CD4 #8095E0

Accessibility & contrast

On white

7.38
#2D4CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4CB9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CB9#FFFFFF#000000##FFFFFF
##2D4CB91.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4cb9;
/* rgb */ color: rgb(45, 76, 185);
/* oklch */ color: oklch(46.2% 0.176 267.0);
Tailwind
colors: {
  custom: {
    50: '#7b7dcf',
    500: '#2d4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cb9;
$custom-light: #7b7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cb9",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 226.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46236,
    "c": 0.17576,
    "h": 267
  },
  "luminance": 0.0923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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