#2C62BD#2C62BD

#2C62BD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.1% C 0.154 H 260.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#2C62BD
RGBrgb(44, 98, 189)
HSLhsl(218, 62%, 46%)
HSVhsv(218, 77%, 74%)
CMYKcmyk(76.7%, 48.1%, 0%, 25.9%)
CIE-LABlab(42.68, 14.79, -52.99)
CIE-LCHlch(42.68, 55.02, 285.59°)
OKLaboklab(51.06% -0.0263 -0.1522)
OKLCHoklch(51.06% 0.154 260.2)
XYZxyz(14.5884, 12.9433, 49.8637)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62BD #BD872C
analogous
#2CAABD #2C62BD #3E2CBD
triadic
#2C62BD #BD2C62 #62BD2C
tetradic
#2C62BD #BD2CAA #BD872C #2CBD3E
square
#2C62BD #BD2CAA #BD872C #2CBD3E
split-complementary
#2C62BD #BD3E2C #AABD2C
monochromatic
#152F5A #20488B #2C62BD #5082D6 #82A5E2

Accessibility & contrast

On white

5.85
#2C62BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#2C62BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62BD
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62BD#FFFFFF#000000##FFFFFF
##2C62BD1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6CC0
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#007886
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2c62bd;
/* rgb */ color: rgb(44, 98, 189);
/* oklch */ color: oklch(51.1% 0.154 260.2);
Tailwind
colors: {
  custom: {
    50: '#7a8ed1',
    500: '#2c62bd',
    950: '#000000',
  },
}
SCSS
$custom: #2c62bd;
$custom-light: #7a8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62bd",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 217.655,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5106,
    "c": 0.15447,
    "h": 260.2
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#2C62BD
secondary
#CBAD7A
accent
#A942E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2C62BD

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

Preview Lab → · Contrast checker → · Palette generator →

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