#2C62A1#2C62A1

#2C62A1 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.2% C 0.116 H 254.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2C62A1
RGBrgb(44, 98, 161)
HSLhsl(212, 57%, 40%)
HSVhsv(212, 73%, 63%)
CMYKcmyk(72.7%, 39.1%, 0%, 36.9%)
CIE-LABlab(40.97, 4.15, -39.27)
CIE-LCHlch(40.97, 39.49, 276.04°)
OKLaboklab(49.18% -0.0319 -0.1119)
OKLCHoklch(49.18% 0.116 254.1)
XYZxyz(11.8370, 11.8428, 35.3733)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62A1 #A16B2C
analogous
#2C9CA1 #2C62A1 #312CA1
triadic
#2C62A1 #A12C62 #62A12C
tetradic
#2C62A1 #A12C9C #A16B2C #2CA131
square
#2C62A1 #A12C9C #A16B2C #2CA131
split-complementary
#2C62A1 #A1312C #9CA12C
monochromatic
#122741 #1F4571 #2C62A1 #4080CB #70A0D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C62A1#FFFFFF#000000##FFFFFF
##2C62A11.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)
#4567A4
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#007179
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c62a1;
/* rgb */ color: rgb(44, 98, 161);
/* oklch */ color: oklch(49.2% 0.116 254.1);
Tailwind
colors: {
  custom: {
    50: '#748ebd',
    500: '#2c62a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c62a1;
$custom-light: #748ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62a1",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 161
  },
  "hsl": {
    "h": 212.308,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.11635,
    "h": 254.1
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#2C62A1
secondary
#BF986A
accent
#9A47E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2C62A1

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

Preview Lab → · Contrast checker → · Palette generator →

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