#2D5AC0#2D5AC0

#2D5AC0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.168 H 263.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2D5AC0
RGBrgb(45, 90, 192)
HSLhsl(222, 62%, 46%)
HSVhsv(222, 77%, 75%)
CMYKcmyk(76.6%, 53.1%, 0%, 24.7%)
CIE-LABlab(40.69, 21.25, -57.94)
CIE-LCHlch(40.69, 61.71, 290.14°)
OKLaboklab(49.62% -0.0189 -0.1669)
OKLCHoklch(49.62% 0.168 263.5)
XYZxyz(14.2494, 11.6744, 51.3613)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5AC0 #C0932D
analogous
#2DA4C0 #2D5AC0 #4A2DC0
triadic
#2D5AC0 #C02D5A #5AC02D
tetradic
#2D5AC0 #C02DA4 #C0932D #2DC04A
square
#2D5AC0 #C02DA4 #C0932D #2DC04A
split-complementary
#2D5AC0 #C04A2D #A4C02D
monochromatic
#162C5D #21438E #2D5AC0 #537CD7 #85A2E2

Accessibility & contrast

On white

6.30
#2D5AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2D5AC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5AC0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5AC0#FFFFFF#000000##FFFFFF
##2D5AC01.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C67C4
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d5ac0;
/* rgb */ color: rgb(45, 90, 192);
/* oklch */ color: oklch(49.6% 0.168 263.5);
Tailwind
colors: {
  custom: {
    50: '#7b88d4',
    500: '#2d5ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2d5ac0;
$custom-light: #7b88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5ac0",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 192
  },
  "hsl": {
    "h": 221.633,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49621,
    "c": 0.16799,
    "h": 263.5
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#2D5AC0
secondary
#CCB47D
accent
#B343E5
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2D5AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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