#2C65D4#2C65D4

#2C65D4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.4% C 0.182 H 261.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2C65D4
RGBrgb(44, 101, 212)
HSLhsl(220, 66%, 50%)
HSVhsv(220, 79%, 83%)
CMYKcmyk(79.2%, 52.4%, 0%, 16.9%)
CIE-LABlab(45.07, 21.59, -62.38)
CIE-LCHlch(45.07, 66.01, 289.09°)
OKLaboklab(53.39% -0.0256 -0.1798)
OKLCHoklch(53.39% 0.182 261.9)
XYZxyz(17.5718, 14.5942, 64.1654)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C65D4 #D49B2C
analogous
#2CB9D4 #2C65D4 #472CD4
triadic
#2C65D4 #D42C65 #65D42C
tetradic
#2C65D4 #D42CB9 #D49B2C #2CD447
square
#2C65D4 #D42CB9 #D49B2C #2CD447
split-complementary
#2C65D4 #D4472C #B9D42C
monochromatic
#17356F #214DA2 #2C65D4 #5F8ADE #92AFE9

Accessibility & contrast

On white

5.36
#2C65D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2C65D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C65D4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C65D4#FFFFFF#000000##FFFFFF
##2C65D41.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1273D8
Deuteranopia (green-blind)
#0063D2
Tritanopia (blue-blind)
#008093
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c65d4;
/* rgb */ color: rgb(44, 101, 212);
/* oklch */ color: oklch(53.4% 0.182 261.9);
Tailwind
colors: {
  custom: {
    50: '#7f90e2',
    500: '#2c65d4',
    950: '#000000',
  },
}
SCSS
$custom: #2c65d4;
$custom-light: #7f90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c65d4",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 212
  },
  "hsl": {
    "h": 219.643,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53389,
    "c": 0.1816,
    "h": 261.9
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#2C65D4
secondary
#D3BA88
accent
#AF3FE9
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #2C65D4

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

Preview Lab → · Contrast checker → · Palette generator →

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