#2D66B8#2D66B8

#2D66B8 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 51.6% C 0.143 H 257.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2D66B8
RGBrgb(45, 102, 184)
HSLhsl(215, 61%, 45%)
HSVhsv(215, 76%, 72%)
CMYKcmyk(75.5%, 44.6%, 0%, 27.8%)
CIE-LABlab(43.54, 10.43, -48.70)
CIE-LCHlch(43.54, 49.80, 282.09°)
OKLaboklab(51.63% -0.0298 -0.1395)
OKLCHoklch(51.63% 0.143 257.9)
XYZxyz(14.4821, 13.5197, 47.1844)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D66B8 #B87F2D
analogous
#2DABB8 #2D66B8 #3A2DB8
triadic
#2D66B8 #B82D66 #66B82D
tetradic
#2D66B8 #B82DAB #B87F2D #2DB83A
square
#2D66B8 #B82DAB #B87F2D #2DB83A
split-complementary
#2D66B8 #B83A2D #ABB82D
monochromatic
#152F56 #214B87 #2D66B8 #4E85D4 #80A7E0

Accessibility & contrast

On white

5.67
#2D66B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2D66B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D66B8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D66B8#FFFFFF#000000##FFFFFF
##2D66B81.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6EBB
Deuteranopia (green-blind)
#2061B6
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d66b8;
/* rgb */ color: rgb(45, 102, 184);
/* oklch */ color: oklch(51.6% 0.143 257.9);
Tailwind
colors: {
  custom: {
    50: '#7991ce',
    500: '#2d66b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d66b8;
$custom-light: #7991ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d66b8",
  "rgb": {
    "r": 45,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 215.396,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51628,
    "c": 0.14266,
    "h": 257.9
  },
  "luminance": 0.13521
}

Semantic roles & 50–950 ramp

primary
#2D66B8
secondary
#C9A878
accent
#A244E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D66B8

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

Preview Lab → · Contrast checker → · Palette generator →

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