#2D60A8#2D60A8

#2D60A8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.2% C 0.128 H 257.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#2D60A8
RGBrgb(45, 96, 168)
HSLhsl(215, 58%, 42%)
HSVhsv(215, 73%, 66%)
CMYKcmyk(73.2%, 42.9%, 0%, 34.1%)
CIE-LABlab(40.81, 8.22, -43.66)
CIE-LCHlch(40.81, 44.43, 280.66°)
OKLaboklab(49.21% -0.0276 -0.1248)
OKLCHoklch(49.21% 0.128 257.5)
XYZxyz(12.3304, 11.7494, 38.6562)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60A8 #A8752D
analogous
#2D9EA8 #2D60A8 #382DA8
triadic
#2D60A8 #A82D60 #60A82D
tetradic
#2D60A8 #A82D9E #A8752D #2DA838
square
#2D60A8 #A82D9E #A8752D #2DA838
split-complementary
#2D60A8 #A8382D #9EA82D
monochromatic
#132947 #204478 #2D60A8 #457DCD #759FDA

Accessibility & contrast

On white

6.27
#2D60A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#2D60A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D60A8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D60A8#FFFFFF#000000##FFFFFF
##2D60A81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AB
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d60a8;
/* rgb */ color: rgb(45, 96, 168);
/* oklch */ color: oklch(49.2% 0.128 257.5);
Tailwind
colors: {
  custom: {
    50: '#768cc2',
    500: '#2d60a8',
    950: '#000000',
  },
}
SCSS
$custom: #2d60a8;
$custom-light: #768cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60a8",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 168
  },
  "hsl": {
    "h": 215.122,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49208,
    "c": 0.12782,
    "h": 257.5
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#2D60A8
secondary
#C29F6F
accent
#A147E1
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #2D60A8

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

Preview Lab → · Contrast checker → · Palette generator →

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