#2C65B5#2C65B5

#2C65B5 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 51.2% C 0.140 H 257.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#2C65B5
RGBrgb(44, 101, 181)
HSLhsl(215, 61%, 44%)
HSVhsv(215, 76%, 71%)
CMYKcmyk(75.7%, 44.2%, 0%, 29%)
CIE-LABlab(43.03, 9.81, -47.76)
CIE-LCHlch(43.03, 48.76, 281.61°)
OKLaboklab(51.17% -0.0302 -0.1368)
OKLCHoklch(51.17% 0.14 257.6)
XYZxyz(14.0298, 13.1774, 45.5112)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C65B5 #B57C2C
analogous
#2CAAB5 #2C65B5 #372CB5
triadic
#2C65B5 #B52C65 #65B52C
tetradic
#2C65B5 #B52CAA #B57C2C #2CB537
square
#2C65B5 #B52CAA #B57C2C #2CB537
split-complementary
#2C65B5 #B5372C #AAB52C
monochromatic
#142E53 #204A84 #2C65B5 #4B84D3 #7CA5DF

Accessibility & contrast

On white

5.78
#2C65B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#2C65B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C65B5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C65B5#FFFFFF#000000##FFFFFF
##2C65B51.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB8
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c65b5;
/* rgb */ color: rgb(44, 101, 181);
/* oklch */ color: oklch(51.2% 0.140 257.6);
Tailwind
colors: {
  custom: {
    50: '#7890cc',
    500: '#2c65b5',
    950: '#000000',
  },
}
SCSS
$custom: #2c65b5;
$custom-light: #7890cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c65b5",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 181
  },
  "hsl": {
    "h": 215.036,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51168,
    "c": 0.14007,
    "h": 257.6
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#2C65B5
secondary
#C8A575
accent
#A144E4
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2C65B5

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

Preview Lab → · Contrast checker → · Palette generator →

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