#2A65BC#2A65BC

#2A65BC is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.6% C 0.150 H 258.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2A65BC
RGBrgb(42, 101, 188)
HSLhsl(216, 63%, 45%)
HSVhsv(216, 78%, 74%)
CMYKcmyk(77.7%, 46.3%, 0%, 26.3%)
CIE-LABlab(43.40, 12.24, -51.25)
CIE-LCHlch(43.40, 52.69, 283.43°)
OKLaboklab(51.58% -0.0302 -0.1471)
OKLCHoklch(51.58% 0.15 258.4)
XYZxyz(14.6823, 13.4287, 49.3854)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A65BC #BC812A
analogous
#2AAEBC #2A65BC #382ABC
triadic
#2A65BC #BC2A65 #65BC2A
tetradic
#2A65BC #BC2AAE #BC812A #2ABC38
square
#2A65BC #BC2AAE #BC812A #2ABC38
split-complementary
#2A65BC #BC382A #AEBC2A
monochromatic
#142F58 #1F4A8A #2A65BC #4C84D7 #7EA7E2

Accessibility & contrast

On white

5.70
#2A65BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2A65BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A65BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A65BC#FFFFFF#000000##FFFFFF
##2A65BC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EBF
Deuteranopia (green-blind)
#1260BA
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a65bc;
/* rgb */ color: rgb(42, 101, 188);
/* oklch */ color: oklch(51.6% 0.150 258.4);
Tailwind
colors: {
  custom: {
    50: '#7990d1',
    500: '#2a65bc',
    950: '#000000',
  },
}
SCSS
$custom: #2a65bc;
$custom-light: #7990d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a65bc",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 188
  },
  "hsl": {
    "h": 215.753,
    "s": 63.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51578,
    "c": 0.15012,
    "h": 258.4
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#2A65BC
secondary
#CBA977
accent
#A441E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82

Preview Lab

Preview with #2A65BC

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

Preview Lab → · Contrast checker → · Palette generator →

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