#2D4BBE#2D4BBE

#2D4BBE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.5% C 0.184 H 267.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2D4BBE
RGBrgb(45, 75, 190)
HSLhsl(228, 62%, 46%)
HSVhsv(228, 76%, 75%)
CMYKcmyk(76.3%, 60.5%, 0%, 25.5%)
CIE-LABlab(36.57, 30.30, -63.48)
CIE-LCHlch(36.57, 70.34, 295.51°)
OKLaboklab(46.47% -0.0084 -0.1834)
OKLCHoklch(46.47% 0.184 267.4)
XYZxyz(12.8893, 9.3063, 49.8222)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BBE #BEA02D
analogous
#2D93BE #2D4BBE #572DBE
triadic
#2D4BBE #BE2D4B #4BBE2D
tetradic
#2D4BBE #BE2D93 #BEA02D #2DBE57
square
#2D4BBE #BE2D93 #BEA02D #2DBE57
split-complementary
#2D4BBE #BE572D #93BE2D
monochromatic
#16245B #21378D #2D4BBE #526DD6 #8497E2

Accessibility & contrast

On white

7.34
#2D4BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4BBE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BBE#FFFFFF#000000##FFFFFF
##2D4BBE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4bbe;
/* rgb */ color: rgb(45, 75, 190);
/* oklch */ color: oklch(46.5% 0.184 267.4);
Tailwind
colors: {
  custom: {
    50: '#7c7dd3',
    500: '#2d4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bbe;
$custom-light: #7c7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bbe",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 227.586,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.18363,
    "h": 267.4
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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