#2C65BA#2C65BA

#2C65BA is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.5% C 0.147 H 258.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#2C65BA
RGBrgb(44, 101, 186)
HSLhsl(216, 62%, 45%)
HSVhsv(216, 76%, 73%)
CMYKcmyk(76.3%, 45.7%, 0%, 27.1%)
CIE-LABlab(43.34, 11.71, -50.18)
CIE-LCHlch(43.34, 51.53, 283.14°)
OKLaboklab(51.51% -0.0292 -0.1439)
OKLCHoklch(51.51% 0.147 258.5)
XYZxyz(14.5521, 13.3863, 48.2617)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C65BA #BA812C
analogous
#2CACBA #2C65BA #3A2CBA
triadic
#2C65BA #BA2C65 #65BA2C
tetradic
#2C65BA #BA2CAC #BA812C #2CBA3A
square
#2C65BA #BA2CAC #BA812C #2CBA3A
split-complementary
#2C65BA #BA3A2C #ACBA2C
monochromatic
#152F57 #204A89 #2C65BA #4E84D5 #80A7E1

Accessibility & contrast

On white

5.71
#2C65BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#2C65BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C65BA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C65BA#FFFFFF#000000##FFFFFF
##2C65BA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386DBD
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#007986
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2c65ba;
/* rgb */ color: rgb(44, 101, 186);
/* oklch */ color: oklch(51.5% 0.147 258.5);
Tailwind
colors: {
  custom: {
    50: '#7990cf',
    500: '#2c65ba',
    950: '#000000',
  },
}
SCSS
$custom: #2c65ba;
$custom-light: #7990cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c65ba",
  "rgb": {
    "r": 44,
    "g": 101,
    "b": 186
  },
  "hsl": {
    "h": 215.915,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.14684,
    "h": 258.5
  },
  "luminance": 0.13388
}

Semantic roles & 50–950 ramp

primary
#2C65BA
secondary
#CAA978
accent
#A443E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2C65BA

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

Preview Lab → · Contrast checker → · Palette generator →

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