#2D60AB#2D60AB

#2D60AB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.4% C 0.132 H 258.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2D60AB
RGBrgb(45, 96, 171)
HSLhsl(216, 58%, 42%)
HSVhsv(216, 74%, 67%)
CMYKcmyk(73.7%, 43.9%, 0%, 32.9%)
CIE-LABlab(41.00, 9.36, -45.14)
CIE-LCHlch(41.00, 46.10, 281.71°)
OKLaboklab(49.41% -0.027 -0.1292)
OKLCHoklch(49.41% 0.132 258.2)
XYZxyz(12.6131, 11.8625, 40.1451)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D60AB #AB782D
analogous
#2D9FAB #2D60AB #392DAB
triadic
#2D60AB #AB2D60 #60AB2D
tetradic
#2D60AB #AB2D9F #AB782D #2DAB39
square
#2D60AB #AB2D9F #AB782D #2DAB39
split-complementary
#2D60AB #AB392D #9FAB2D
monochromatic
#142A4A #20457B #2D60AB #477ECE #77A0DB

Accessibility & contrast

On white

6.23
#2D60AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2D60AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D60AB
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D60AB#FFFFFF#000000##FFFFFF
##2D60AB1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B67AE
Deuteranopia (green-blind)
#245BA9
Tritanopia (blue-blind)
#00727D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2d60ab;
/* rgb */ color: rgb(45, 96, 171);
/* oklch */ color: oklch(49.4% 0.132 258.2);
Tailwind
colors: {
  custom: {
    50: '#778cc4',
    500: '#2d60ab',
    950: '#000000',
  },
}
SCSS
$custom: #2d60ab;
$custom-light: #778cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d60ab",
  "rgb": {
    "r": 45,
    "g": 96,
    "b": 171
  },
  "hsl": {
    "h": 215.714,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49407,
    "c": 0.13195,
    "h": 258.2
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#2D60AB
secondary
#C3A271
accent
#A346E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2D60AB

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

Preview Lab → · Contrast checker → · Palette generator →

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