#2D5CBF#2D5CBF

#2D5CBF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.0% C 0.164 H 262.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2D5CBF
RGBrgb(45, 92, 191)
HSLhsl(221, 62%, 46%)
HSVhsv(221, 76%, 75%)
CMYKcmyk(76.4%, 51.8%, 0%, 25.1%)
CIE-LABlab(41.17, 19.56, -56.58)
CIE-LCHlch(41.17, 59.87, 289.07°)
OKLaboklab(49.96% -0.0205 -0.1629)
OKLCHoklch(49.96% 0.164 262.8)
XYZxyz(14.3099, 11.9721, 50.8368)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5CBF #BF902D
analogous
#2DA5BF #2D5CBF #472DBF
triadic
#2D5CBF #BF2D5C #5CBF2D
tetradic
#2D5CBF #BF2DA5 #BF902D #2DBF47
square
#2D5CBF #BF2DA5 #BF902D #2DBF47
split-complementary
#2D5CBF #BF472D #A5BF2D
monochromatic
#162C5C #21448D #2D5CBF #537DD6 #84A2E2

Accessibility & contrast

On white

6.19
#2D5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2D5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5CBF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5CBF#FFFFFF#000000##FFFFFF
##2D5CBF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d5cbf;
/* rgb */ color: rgb(45, 92, 191);
/* oklch */ color: oklch(50.0% 0.164 262.8);
Tailwind
colors: {
  custom: {
    50: '#7b89d3',
    500: '#2d5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2d5cbf;
$custom-light: #7b89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5cbf",
  "rgb": {
    "r": 45,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 220.685,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.16418,
    "h": 262.8
  },
  "luminance": 0.11974
}

Semantic roles & 50–950 ramp

primary
#2D5CBF
secondary
#CBB27C
accent
#B143E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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