#2D5FC0#2D5FC0

#2D5FC0 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.162 H 261.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#2D5FC0
RGBrgb(45, 95, 192)
HSLhsl(220, 62%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(76.6%, 50.5%, 0%, 24.7%)
CIE-LABlab(42.07, 17.99, -55.71)
CIE-LCHlch(42.07, 58.54, 287.90°)
OKLaboklab(50.67% -0.0228 -0.1603)
OKLCHoklch(50.67% 0.162 261.9)
XYZxyz(14.6854, 12.5464, 51.5067)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5FC0 #C08E2D
analogous
#2DA9C0 #2D5FC0 #452DC0
triadic
#2D5FC0 #C02D5F #5FC02D
tetradic
#2D5FC0 #C02DA9 #C08E2D #2DC045
square
#2D5FC0 #C02DA9 #C08E2D #2DC045
split-complementary
#2D5FC0 #C0452D #A9C02D
monochromatic
#162E5D #21468E #2D5FC0 #5380D7 #85A5E2

Accessibility & contrast

On white

5.98
#2D5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#2D5FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5FC0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5FC0#FFFFFF#000000##FFFFFF
##2D5FC01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d5fc0;
/* rgb */ color: rgb(45, 95, 192);
/* oklch */ color: oklch(50.7% 0.162 261.9);
Tailwind
colors: {
  custom: {
    50: '#7b8bd4',
    500: '#2d5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5fc0;
$custom-light: #7b8bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5fc0",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 219.592,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.16188,
    "h": 261.9
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#2D5FC0
secondary
#CCB17D
accent
#AE43E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2D5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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