#2A65C0#2A65C0

#2A65C0 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 51.9% C 0.155 H 259.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#2A65C0
RGBrgb(42, 101, 192)
HSLhsl(216, 64%, 46%)
HSVhsv(216, 78%, 75%)
CMYKcmyk(78.1%, 47.4%, 0%, 24.7%)
CIE-LABlab(43.66, 13.77, -53.16)
CIE-LCHlch(43.66, 54.91, 284.52°)
OKLaboklab(51.86% -0.0295 -0.1527)
OKLCHoklch(51.86% 0.156 259.1)
XYZxyz(15.1195, 13.6036, 51.6879)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A65C0 #C0852A
analogous
#2AB0C0 #2A65C0 #3A2AC0
triadic
#2A65C0 #C02A65 #65C02A
tetradic
#2A65C0 #C02AB0 #C0852A #2AC03A
square
#2A65C0 #C02AB0 #C0852A #2AC03A
split-complementary
#2A65C0 #C03A2A #B0C02A
monochromatic
#14305C #1F4B8E #2A65C0 #4F85D8 #81A8E3

Accessibility & contrast

On white

5.64
#2A65C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#2A65C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A65C0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A65C0#FFFFFF#000000##FFFFFF
##2A65C01.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#0161BE
Tritanopia (blue-blind)
#007B89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a65c0;
/* rgb */ color: rgb(42, 101, 192);
/* oklch */ color: oklch(51.9% 0.155 259.1);
Tailwind
colors: {
  custom: {
    50: '#7a90d4',
    500: '#2a65c0',
    950: '#000000',
  },
}
SCSS
$custom: #2a65c0;
$custom-light: #7a90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a65c0",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 192
  },
  "hsl": {
    "h": 216.4,
    "s": 64.103,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.1555,
    "h": 259.1
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#2A65C0
secondary
#CCAC7A
accent
#A641E7
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2A65C0

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

Preview Lab → · Contrast checker → · Palette generator →

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