#2D6FD3#2D6FD3

#2D6FD3 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.5% C 0.168 H 258.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#2D6FD3
RGBrgb(45, 111, 211)
HSLhsl(216, 65%, 50%)
HSVhsv(216, 79%, 83%)
CMYKcmyk(78.7%, 47.4%, 0%, 17.3%)
CIE-LABlab(47.79, 14.93, -57.42)
CIE-LCHlch(47.79, 59.33, 284.57°)
OKLaboklab(55.45% -0.0325 -0.165)
OKLCHoklch(55.45% 0.168 258.9)
XYZxyz(18.5202, 16.6277, 63.8488)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FD3 #D3912D
analogous
#2DC2D3 #2D6FD3 #3E2DD3
triadic
#2D6FD3 #D32D6F #6FD32D
tetradic
#2D6FD3 #D32DC2 #D3912D #2DD33E
square
#2D6FD3 #D32DC2 #D3912D #2DD33E
split-complementary
#2D6FD3 #D33E2D #C2D32D
monochromatic
#173A6E #2254A1 #2D6FD3 #6092DE #92B4E8

Accessibility & contrast

On white

4.85
#2D6FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2D6FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FD3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FD3#FFFFFF#000000##FFFFFF
##2D6FD31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3779D7
Deuteranopia (green-blind)
#006AD1
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d6fd3;
/* rgb */ color: rgb(45, 111, 211);
/* oklch */ color: oklch(55.5% 0.168 258.9);
Tailwind
colors: {
  custom: {
    50: '#7f97e1',
    500: '#2d6fd3',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fd3;
$custom-light: #7f97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fd3",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 211
  },
  "hsl": {
    "h": 216.145,
    "s": 65.354,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55452,
    "c": 0.16817,
    "h": 258.9
  },
  "luminance": 0.1663
}

Semantic roles & 50–950 ramp

primary
#2D6FD3
secondary
#D3B589
accent
#A53FE8
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2D6FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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