#2C5FB3#2C5FB3

#2C5FB3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.7% C 0.144 H 259.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2C5FB3
RGBrgb(44, 95, 179)
HSLhsl(217, 61%, 44%)
HSVhsv(217, 75%, 70%)
CMYKcmyk(75.4%, 46.9%, 0%, 29.8%)
CIE-LABlab(41.17, 12.91, -49.57)
CIE-LCHlch(41.17, 51.22, 284.60°)
OKLaboklab(49.7% -0.0254 -0.1422)
OKLCHoklch(49.7% 0.144 259.9)
XYZxyz(13.2646, 11.9731, 44.2510)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FB3 #B3802C
analogous
#2CA2B3 #2C5FB3 #3C2CB3
triadic
#2C5FB3 #B32C5F #5FB32C
tetradic
#2C5FB3 #B32CA2 #B3802C #2CB33C
square
#2C5FB3 #B32CA2 #B3802C #2CB33C
split-complementary
#2C5FB3 #B33C2C #A2B32C
monochromatic
#142B51 #204582 #2C5FB3 #4A7DD2 #7BA1DF

Accessibility & contrast

On white

6.19
#2C5FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2C5FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FB3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FB3#FFFFFF#000000##FFFFFF
##2C5FB31.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3268B6
Deuteranopia (green-blind)
#0F5BB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5fb3;
/* rgb */ color: rgb(44, 95, 179);
/* oklch */ color: oklch(49.7% 0.144 259.9);
Tailwind
colors: {
  custom: {
    50: '#788bca',
    500: '#2c5fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fb3;
$custom-light: #788bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fb3",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 217.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49695,
    "c": 0.14445,
    "h": 259.9
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#2C5FB3
secondary
#C7A874
accent
#A744E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C5FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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