#2C62BA#2C62BA

#2C62BA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.8% C 0.150 H 259.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2C62BA
RGBrgb(44, 98, 186)
HSLhsl(217, 62%, 45%)
HSVhsv(217, 76%, 73%)
CMYKcmyk(76.3%, 47.3%, 0%, 27.1%)
CIE-LABlab(42.48, 13.64, -51.56)
CIE-LCHlch(42.48, 53.33, 284.82°)
OKLaboklab(50.85% -0.0267 -0.148)
OKLCHoklch(50.85% 0.15 259.8)
XYZxyz(14.2661, 12.8144, 48.1664)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62BA #BA842C
analogous
#2CA9BA #2C62BA #3D2CBA
triadic
#2C62BA #BA2C62 #62BA2C
tetradic
#2C62BA #BA2CA9 #BA842C #2CBA3D
square
#2C62BA #BA2CA9 #BA842C #2CBA3D
split-complementary
#2C62BA #BA3D2C #A9BA2C
monochromatic
#152E57 #204889 #2C62BA #4E81D5 #80A5E1

Accessibility & contrast

On white

5.89
#2C62BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2C62BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62BA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62BA#FFFFFF#000000##FFFFFF
##2C62BA1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#085EB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c62ba;
/* rgb */ color: rgb(44, 98, 186);
/* oklch */ color: oklch(50.8% 0.150 259.8);
Tailwind
colors: {
  custom: {
    50: '#798ecf',
    500: '#2c62ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c62ba;
$custom-light: #798ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62ba",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 186
  },
  "hsl": {
    "h": 217.183,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.15041,
    "h": 259.8
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

primary
#2C62BA
secondary
#CAAB78
accent
#A743E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #2C62BA

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

Preview Lab → · Contrast checker → · Palette generator →

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