#2A65C7#2A65C7

#2A65C7 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.4% C 0.165 H 260.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2A65C7
RGBrgb(42, 101, 199)
HSLhsl(217, 65%, 47%)
HSVhsv(217, 79%, 78%)
CMYKcmyk(78.9%, 49.2%, 0%, 22%)
CIE-LABlab(44.12, 16.44, -56.46)
CIE-LCHlch(44.12, 58.81, 286.24°)
OKLaboklab(52.36% -0.0284 -0.1624)
OKLCHoklch(52.36% 0.165 260.1)
XYZxyz(15.9136, 13.9212, 55.8701)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A65C7 #C78C2A
analogous
#2AB4C7 #2A65C7 #3D2AC7
triadic
#2A65C7 #C72A65 #65C72A
tetradic
#2A65C7 #C72AB4 #C78C2A #2AC73D
square
#2A65C7 #C72AB4 #C78C2A #2AC73D
split-complementary
#2A65C7 #C73D2A #B4C72A
monochromatic
#153262 #1F4B94 #2A65C7 #5386DB #86AAE5

Accessibility & contrast

On white

5.55
#2A65C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A65C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A65C7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A65C7#FFFFFF#000000##FFFFFF
##2A65C71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A70CB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007D8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a65c7;
/* rgb */ color: rgb(42, 101, 199);
/* oklch */ color: oklch(52.4% 0.165 260.1);
Tailwind
colors: {
  custom: {
    50: '#7c90d9',
    500: '#2a65c7',
    950: '#000000',
  },
}
SCSS
$custom: #2a65c7;
$custom-light: #7c90d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a65c7",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 199
  },
  "hsl": {
    "h": 217.452,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.16488,
    "h": 260.1
  },
  "luminance": 0.13923
}

Semantic roles & 50–950 ramp

primary
#2A65C7
secondary
#CFB07E
accent
#A940E8
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #2A65C7

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

Preview Lab → · Contrast checker → · Palette generator →

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