#2A75E2#2A75E2

#2A75E2 is a mid, vivid blue. Relative luminance 0.187; OKLCH L 57.7% C 0.181 H 258.5°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2A75E2
RGBrgb(42, 117, 226)
HSLhsl(216, 76%, 53%)
HSVhsv(216, 81%, 89%)
CMYKcmyk(81.4%, 48.2%, 0%, 11.4%)
CIE-LABlab(50.34, 16.52, -61.81)
CIE-LCHlch(50.34, 63.98, 284.96°)
OKLaboklab(57.7% -0.0363 -0.1778)
OKLCHoklch(57.7% 0.182 258.5)
XYZxyz(21.0386, 18.7032, 74.4380)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A75E2 #E2972A
analogous
#2AD1E2 #2A75E2 #3B2AE2
triadic
#2A75E2 #E22A75 #75E22A
tetradic
#2A75E2 #E22AD1 #E2972A #2AE23B
square
#2A75E2 #E22AD1 #E2972A #2AE23B
split-complementary
#2A75E2 #E23B2A #D1E22A
monochromatic
#113F80 #1959B6 #2A75E2 #6098E9 #96BBF1

Accessibility & contrast

On white

4.43
#2A75E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2A75E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A75E2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A75E2#FFFFFF#000000##000000
##2A75E21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3481E6
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a75e2;
/* rgb */ color: rgb(42, 117, 226);
/* oklch */ color: oklch(57.7% 0.181 258.5);
Tailwind
colors: {
  custom: {
    50: '#819cec',
    500: '#2a75e2',
    950: '#000000',
  },
}
SCSS
$custom: #2a75e2;
$custom-light: #819cec;
$custom-dark: #000000;
JSON
{
  "hex": "#2a75e2",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 226
  },
  "hsl": {
    "h": 215.543,
    "s": 76.033,
    "l": 52.549
  },
  "oklch": {
    "l": 0.577,
    "c": 0.1815,
    "h": 258.5
  },
  "luminance": 0.18706
}

Semantic roles & 50–950 ramp

primary
#2A75E2
secondary
#DCBB8C
accent
#A535F3
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2A75E2

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

Preview Lab → · Contrast checker → · Palette generator →

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