#2C62AF#2C62AF

#2C62AF is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.1% C 0.135 H 257.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2C62AF
RGBrgb(44, 98, 175)
HSLhsl(215, 60%, 43%)
HSVhsv(215, 75%, 69%)
CMYKcmyk(74.9%, 44%, 0%, 31.4%)
CIE-LABlab(41.79, 9.45, -46.23)
CIE-LCHlch(41.79, 47.19, 281.56°)
OKLaboklab(50.09% -0.0287 -0.1323)
OKLCHoklch(50.09% 0.135 257.8)
XYZxyz(13.1414, 12.3645, 42.2431)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C62AF #AF792C
analogous
#2CA3AF #2C62AF #372CAF
triadic
#2C62AF #AF2C62 #62AF2C
tetradic
#2C62AF #AF2CA3 #AF792C #2CAF37
square
#2C62AF #AF2CA3 #AF792C #2CAF37
split-complementary
#2C62AF #AF372C #A3AF2C
monochromatic
#132B4D #20477E #2C62AF #4780D1 #78A2DD

Accessibility & contrast

On white

6.05
#2C62AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2C62AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C62AF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C62AF#FFFFFF#000000##FFFFFF
##2C62AF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#007480
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c62af;
/* rgb */ color: rgb(44, 98, 175);
/* oklch */ color: oklch(50.1% 0.135 257.8);
Tailwind
colors: {
  custom: {
    50: '#778ec7',
    500: '#2c62af',
    950: '#000000',
  },
}
SCSS
$custom: #2c62af;
$custom-light: #778ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c62af",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 215.267,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5009,
    "c": 0.13542,
    "h": 257.8
  },
  "luminance": 0.12366
}

Semantic roles & 50–950 ramp

primary
#2C62AF
secondary
#C5A372
accent
#A245E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C62AF

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

Preview Lab → · Contrast checker → · Palette generator →

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