#2D5ABC#2D5ABC

#2D5ABC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.163 H 263.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#2D5ABC
RGBrgb(45, 90, 188)
HSLhsl(221, 61%, 46%)
HSVhsv(221, 76%, 74%)
CMYKcmyk(76.1%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.41, 19.73, -56.07)
CIE-LCHlch(40.41, 59.44, 289.39°)
OKLaboklab(49.32% -0.0193 -0.1614)
OKLCHoklch(49.32% 0.163 263.2)
XYZxyz(13.8122, 11.4995, 49.0589)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5ABC #BC8F2D
analogous
#2DA1BC #2D5ABC #482DBC
triadic
#2D5ABC #BC2D5A #5ABC2D
tetradic
#2D5ABC #BC2DA1 #BC8F2D #2DBC48
square
#2D5ABC #BC2DA1 #BC8F2D #2DBC48
split-complementary
#2D5ABC #BC482D #A1BC2D
monochromatic
#152B59 #21428B #2D5ABC #517BD5 #82A0E1

Accessibility & contrast

On white

6.36
#2D5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#2D5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5ABC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5ABC#FFFFFF#000000##FFFFFF
##2D5ABC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d5abc;
/* rgb */ color: rgb(45, 90, 188);
/* oklch */ color: oklch(49.3% 0.163 263.2);
Tailwind
colors: {
  custom: {
    50: '#7b88d1',
    500: '#2d5abc',
    950: '#000000',
  },
}
SCSS
$custom: #2d5abc;
$custom-light: #7b88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5abc",
  "rgb": {
    "r": 45,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 221.119,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49315,
    "c": 0.16256,
    "h": 263.2
  },
  "luminance": 0.11501
}

Semantic roles & 50–950 ramp

primary
#2D5ABC
secondary
#CAB17B
accent
#B243E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2D5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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