#2D60B8#2D60B8

#2D60B8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.3% C 0.150 H 260.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#2D60B8
RGBrgb(45, 96, 184)
HSLhsl(218, 61%, 45%)
HSVhsv(218, 76%, 72%)
CMYKcmyk(75.5%, 47.8%, 0%, 27.8%)
CIE-LABlab(41.82, 14.30, -51.46)
CIE-LCHlch(41.82, 53.41, 285.53°)
OKLaboklab(50.31% -0.0247 -0.1477)
OKLCHoklch(50.31% 0.15 260.5)
XYZxyz(13.9137, 12.3828, 46.9949)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60B8 #B8852D
analogous
#2DA5B8 #2D60B8 #402DB8
triadic
#2D60B8 #B82D60 #60B82D
tetradic
#2D60B8 #B82DA5 #B8852D #2DB840
square
#2D60B8 #B82DA5 #B8852D #2DB840
split-complementary
#2D60B8 #B8402D #A5B82D
monochromatic
#152D56 #214687 #2D60B8 #4E7FD4 #80A3E0

Accessibility & contrast

On white

6.04
#2D60B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2D60B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D60B8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D60B8#FFFFFF#000000##FFFFFF
##2D60B81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BB
Deuteranopia (green-blind)
#035DB6
Tritanopia (blue-blind)
#007583
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2d60b8;
/* rgb */ color: rgb(45, 96, 184);
/* oklch */ color: oklch(50.3% 0.150 260.5);
Tailwind
colors: {
  custom: {
    50: '#798cce',
    500: '#2d60b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d60b8;
$custom-light: #798cce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60b8",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 184
  },
  "hsl": {
    "h": 217.986,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50305,
    "c": 0.14978,
    "h": 260.5
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#2D60B8
secondary
#C9AB78
accent
#A944E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2D60B8

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

Preview Lab → · Contrast checker → · Palette generator →

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