#2D54BF#2D54BF

#2D54BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.174 H 265.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#2D54BF
RGBrgb(45, 84, 191)
HSLhsl(224, 62%, 46%)
HSVhsv(224, 76%, 75%)
CMYKcmyk(76.4%, 56%, 0%, 25.1%)
CIE-LABlab(39.00, 24.79, -60.11)
CIE-LCHlch(39.00, 65.02, 292.42°)
OKLaboklab(48.32% -0.0146 -0.1734)
OKLCHoklch(48.32% 0.174 265.2)
XYZxyz(13.6532, 10.6586, 50.6179)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D54BF #BF982D
analogous
#2D9DBF #2D54BF #4F2DBF
triadic
#2D54BF #BF2D54 #54BF2D
tetradic
#2D54BF #BF2D9D #BF982D #2DBF4F
square
#2D54BF #BF2D9D #BF982D #2DBF4F
split-complementary
#2D54BF #BF4F2D #9DBF2D
monochromatic
#16285C #213E8D #2D54BF #5376D6 #849DE2

Accessibility & contrast

On white

6.70
#2D54BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2D54BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D54BF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D54BF#FFFFFF#000000##FFFFFF
##2D54BF1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2d54bf;
/* rgb */ color: rgb(45, 84, 191);
/* oklch */ color: oklch(48.3% 0.174 265.2);
Tailwind
colors: {
  custom: {
    50: '#7c83d3',
    500: '#2d54bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d54bf;
$custom-light: #7c83d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d54bf",
  "rgb": {
    "r": 45,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 223.973,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.174,
    "h": 265.2
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#2D54BF
secondary
#CBB67C
accent
#BA43E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D54BF

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

Preview Lab → · Contrast checker → · Palette generator →

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