#2A65E3#2A65E3

#2A65E3 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 54.5% C 0.202 H 262.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2A65E3
RGBrgb(42, 101, 227)
HSLhsl(221, 77%, 53%)
HSVhsv(221, 81%, 89%)
CMYKcmyk(81.5%, 55.5%, 0%, 11%)
CIE-LABlab(46.10, 27.06, -69.24)
CIE-LCHlch(46.10, 74.34, 291.35°)
OKLaboklab(54.49% -0.0255 -0.2)
OKLCHoklch(54.49% 0.202 262.7)
XYZxyz(19.4687, 15.3433, 74.5936)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A65E3 #E3A82A
analogous
#2AC1E3 #2A65E3 #4C2AE3
triadic
#2A65E3 #E32A65 #65E32A
tetradic
#2A65E3 #E32AC1 #E3A82A #2AE34C
square
#2A65E3 #E32AC1 #E3A82A #2AE34C
split-complementary
#2A65E3 #E34C2A #C1E32A
monochromatic
#113582 #184BB8 #2A65E3 #608CEA #96B3F1

Accessibility & contrast

On white

5.16
#2A65E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2A65E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A65E3
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A65E3#FFFFFF#000000##FFFFFF
##2A65E31.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#00859A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a65e3;
/* rgb */ color: rgb(42, 101, 227);
/* oklch */ color: oklch(54.5% 0.202 262.7);
Tailwind
colors: {
  custom: {
    50: '#8290ed',
    500: '#2a65e3',
    950: '#000000',
  },
}
SCSS
$custom: #2a65e3;
$custom-light: #8290ed;
$custom-dark: #000000;
JSON
{
  "hex": "#2a65e3",
  "rgb": {
    "r": 42,
    "g": 101,
    "b": 227
  },
  "hsl": {
    "h": 220.865,
    "s": 76.763,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54493,
    "c": 0.20161,
    "h": 262.7
  },
  "luminance": 0.15346
}

Semantic roles & 50–950 ramp

primary
#2A65E3
secondary
#DCC38C
accent
#B634F3
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0C16
muted
#7D7D84

Preview Lab

Preview with #2A65E3

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

Preview Lab → · Contrast checker → · Palette generator →

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