#2C65B8#2C65B8

#2C65B8 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.4% C 0.144 H 258.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#2C65B8
RGBrgb(44, 101, 184)
HSLhsl(216, 61%, 45%)
HSVhsv(216, 76%, 72%)
CMYKcmyk(76.1%, 45.1%, 0%, 27.8%)
CIE-LABlab(43.21, 10.95, -49.22)
CIE-LCHlch(43.21, 50.42, 282.54°)
OKLaboklab(51.37% -0.0296 -0.1411)
OKLCHoklch(51.37% 0.144 258.1)
XYZxyz(14.3410, 13.3019, 47.1498)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C65B8 #B87F2C
analogous
#2CABB8 #2C65B8 #392CB8
triadic
#2C65B8 #B82C65 #65B82C
tetradic
#2C65B8 #B82CAB #B87F2C #2CB839
square
#2C65B8 #B82CAB #B87F2C #2CB839
split-complementary
#2C65B8 #B8392C #ABB82C
monochromatic
#142F55 #204A87 #2C65B8 #4D84D4 #7EA6E0

Accessibility & contrast

On white

5.74
#2C65B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2C65B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C65B8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C65B8#FFFFFF#000000##FFFFFF
##2C65B81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6DBB
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#007985
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c65b8;
/* rgb */ color: rgb(44, 101, 184);
/* oklch */ color: oklch(51.4% 0.144 258.1);
Tailwind
colors: {
  custom: {
    50: '#7990ce',
    500: '#2c65b8',
    950: '#000000',
  },
}
SCSS
$custom: #2c65b8;
$custom-light: #7990ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c65b8",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 184
  },
  "hsl": {
    "h": 215.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51371,
    "c": 0.14414,
    "h": 258.1
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#2C65B8
secondary
#C9A777
accent
#A343E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C65B8

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

Preview Lab → · Contrast checker → · Palette generator →

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