#2C5CB3#2C5CB3

#2C5CB3 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.148 H 261.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2C5CB3
RGBrgb(44, 92, 179)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 75%, 70%)
CMYKcmyk(75.4%, 48.6%, 0%, 29.8%)
CIE-LABlab(40.32, 14.87, -50.95)
CIE-LCHlch(40.32, 53.07, 286.27°)
OKLaboklab(49.04% -0.0228 -0.1463)
OKLCHoklch(49.04% 0.148 261.1)
XYZxyz(12.9996, 11.4430, 44.1627)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CB3 #B3832C
analogous
#2C9FB3 #2C5CB3 #402CB3
triadic
#2C5CB3 #B32C5C #5CB32C
tetradic
#2C5CB3 #B32C9F #B3832C #2CB340
square
#2C5CB3 #B32C9F #B3832C #2CB340
split-complementary
#2C5CB3 #B3402C #9FB32C
monochromatic
#142A51 #204382 #2C5CB3 #4A7AD2 #7B9EDF

Accessibility & contrast

On white

6.39
#2C5CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2C5CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CB3
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CB3#FFFFFF#000000##FFFFFF
##2C5CB31.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#0059B1
Tritanopia (blue-blind)
#00717F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5cb3;
/* rgb */ color: rgb(44, 92, 179);
/* oklch */ color: oklch(49.0% 0.148 261.1);
Tailwind
colors: {
  custom: {
    50: '#7889ca',
    500: '#2c5cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cb3;
$custom-light: #7889ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cb3",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 218.667,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49037,
    "c": 0.14809,
    "h": 261.1
  },
  "luminance": 0.11444
}

Semantic roles & 50–950 ramp

primary
#2C5CB3
secondary
#C7A974
accent
#AB44E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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