#2D62A1#2D62A1

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

Color values

HEX#2D62A1
RGBrgb(45, 98, 161)
HSLhsl(213, 56%, 40%)
HSVhsv(213, 72%, 63%)
CMYKcmyk(72%, 39.1%, 0%, 36.9%)
CIE-LABlab(41.00, 4.30, -39.21)
CIE-LCHlch(41.00, 39.45, 276.26°)
OKLaboklab(49.22% -0.0311 -0.1117)
OKLCHoklch(49.22% 0.116 254.4)
XYZxyz(11.8805, 11.8652, 35.3754)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D62A1 #A16C2D
analogous
#2D9CA1 #2D62A1 #322DA1
triadic
#2D62A1 #A12D62 #62A12D
tetradic
#2D62A1 #A12D9C #A16C2D #2DA132
square
#2D62A1 #A12D9C #A16C2D #2DA132
split-complementary
#2D62A1 #A1322D #9CA12D
monochromatic
#122841 #204571 #2D62A1 #4180CA #71A0D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D62A1#FFFFFF#000000##FFFFFF
##2D62A11.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: #2d62a1;
/* rgb */ color: rgb(45, 98, 161);
/* oklch */ color: oklch(49.2% 0.116 254.4);
Tailwind
colors: {
  custom: {
    50: '#758ebd',
    500: '#2d62a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d62a1;
$custom-light: #758ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d62a1",
  "rgb": {
    "r": 45,
    "g": 98,
    "b": 161
  },
  "hsl": {
    "h": 212.586,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4922,
    "c": 0.11598,
    "h": 254.4
  },
  "luminance": 0.11866
}

Semantic roles & 50–950 ramp

primary
#2D62A1
secondary
#BF996B
accent
#9A48E0
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D62A1

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

Preview Lab → · Contrast checker → · Palette generator →

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