#2D4BBC#2D4BBC

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

Color values

HEX#2D4BBC
RGBrgb(45, 75, 188)
HSLhsl(227, 61%, 46%)
HSVhsv(227, 76%, 74%)
CMYKcmyk(76.1%, 60.1%, 0%, 26.3%)
CIE-LABlab(36.40, 29.55, -62.58)
CIE-LCHlch(36.40, 69.21, 295.28°)
OKLaboklab(46.3% -0.0084 -0.1808)
OKLCHoklch(46.3% 0.181 267.3)
XYZxyz(12.6722, 9.2195, 48.6789)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BBC #BC9E2D
analogous
#2D92BC #2D4BBC #572DBC
triadic
#2D4BBC #BC2D4B #4BBC2D
tetradic
#2D4BBC #BC2D92 #BC9E2D #2DBC57
square
#2D4BBC #BC2D92 #BC9E2D #2DBC57
split-complementary
#2D4BBC #BC572D #92BC2D
monochromatic
#152459 #21378B #2D4BBC #516DD5 #8296E1

Accessibility & contrast

On white

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

On black

2.84
#2D4BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2D4BBC#FFFFFF#000000##FFFFFF
##2D4BBC1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4bbc;
/* rgb */ color: rgb(45, 75, 188);
/* oklch */ color: oklch(46.3% 0.181 267.3);
Tailwind
colors: {
  custom: {
    50: '#7c7dd1',
    500: '#2d4bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bbc;
$custom-light: #7c7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bbc",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 188
  },
  "hsl": {
    "h": 227.413,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.463,
    "c": 0.18099,
    "h": 267.3
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#2D4BBC
secondary
#CAB97B
accent
#C343E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D4BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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