#2D4FB2#2D4FB2

#2D4FB2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.163 H 265.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D4FB2
RGBrgb(45, 79, 178)
HSLhsl(225, 60%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(74.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(36.67, 23.17, -56.25)
CIE-LCHlch(36.67, 60.83, 292.39°)
OKLaboklab(46.26% -0.0117 -0.1621)
OKLCHoklch(46.26% 0.163 265.9)
XYZxyz(11.9112, 9.3629, 43.2903)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4FB2 #B2902D
analogous
#2D91B2 #2D4FB2 #4E2DB2
triadic
#2D4FB2 #B22D4F #4FB22D
tetradic
#2D4FB2 #B22D91 #B2902D #2DB24E
square
#2D4FB2 #B22D91 #B2902D #2DB24E
split-complementary
#2D4FB2 #B24E2D #91B22D
monochromatic
#142450 #213981 #2D4FB2 #4B6DD1 #7C95DE

Accessibility & contrast

On white

7.31
#2D4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D4FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4FB2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4FB2#FFFFFF#000000##FFFFFF
##2D4FB21.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4fb2;
/* rgb */ color: rgb(45, 79, 178);
/* oklch */ color: oklch(46.3% 0.163 265.9);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2d4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2d4fb2;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4fb2",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 224.662,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.16255,
    "h": 265.9
  },
  "luminance": 0.09364
}

Semantic roles & 50–950 ramp

primary
#2D4FB2
secondary
#C6B175
accent
#BA45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2D4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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