#2D4CBB#2D4CBB

#2D4CBB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.178 H 267.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2D4CBB
RGBrgb(45, 76, 187)
HSLhsl(227, 61%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(75.9%, 59.4%, 0%, 26.7%)
CIE-LABlab(36.58, 28.53, -61.70)
CIE-LCHlch(36.58, 67.98, 294.81°)
OKLaboklab(46.41% -0.0091 -0.1782)
OKLCHoklch(46.41% 0.178 267.1)
XYZxyz(12.6331, 9.3132, 48.1359)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4CBB #BB9C2D
analogous
#2D93BB #2D4CBB #552DBB
triadic
#2D4CBB #BB2D4C #4CBB2D
tetradic
#2D4CBB #BB2D93 #BB9C2D #2DBB55
square
#2D4CBB #BB2D93 #BB9C2D #2DBB55
split-complementary
#2D4CBB #BB552D #93BB2D
monochromatic
#152458 #21388A #2D4CBB #506DD5 #8296E1

Accessibility & contrast

On white

7.33
#2D4CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2D4CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4CBB
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4CBB#FFFFFF#000000##FFFFFF
##2D4CBB1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4cbb;
/* rgb */ color: rgb(45, 76, 187);
/* oklch */ color: oklch(46.4% 0.178 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b7dd0',
    500: '#2d4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2d4cbb;
$custom-light: #7b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4cbb",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 226.901,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46406,
    "c": 0.17843,
    "h": 267.1
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#2D4CBB
secondary
#CAB87A
accent
#C143E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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