#2A75EB#2A75EB

#2A75EB is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.3% C 0.193 H 259.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A75EB
RGBrgb(42, 117, 235)
HSLhsl(217, 83%, 54%)
HSVhsv(217, 82%, 92%)
CMYKcmyk(82.1%, 50.2%, 0%, 7.8%)
CIE-LABlab(50.93, 19.91, -65.90)
CIE-LCHlch(50.93, 68.85, 286.81°)
OKLaboklab(58.35% -0.035 -0.1899)
OKLCHoklch(58.35% 0.193 259.5)
XYZxyz(22.3060, 19.2102, 81.1135)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A75EB #EBA02A
analogous
#2AD6EB #2A75EB #402AEB
triadic
#2A75EB #EB2A75 #75EB2A
tetradic
#2A75EB #EB2AD6 #EBA02A #2AEB40
square
#2A75EB #EB2AD6 #EBA02A #2AEB40
split-complementary
#2A75EB #EB402A #D6EB2A
monochromatic
#0D3F8D #1358C5 #2A75EB #6299F0 #9ABDF6

Accessibility & contrast

On white

4.34
#2A75EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#2A75EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A75EB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A75EB#FFFFFF#000000##000000
##2A75EB1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EF
Deuteranopia (green-blind)
#0071E9
Tritanopia (blue-blind)
#0092A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a75eb;
/* rgb */ color: rgb(42, 117, 235);
/* oklch */ color: oklch(58.3% 0.193 259.5);
Tailwind
colors: {
  custom: {
    50: '#839cf2',
    500: '#2a75eb',
    950: '#000000',
  },
}
SCSS
$custom: #2a75eb;
$custom-light: #839cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a75eb",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 216.684,
    "s": 82.833,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58345,
    "c": 0.19308,
    "h": 259.5
  },
  "luminance": 0.19213
}

Semantic roles & 50–950 ramp

primary
#2A75EB
secondary
#E1C28F
accent
#AA2FF9
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #2A75EB

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

Preview Lab → · Contrast checker → · Palette generator →

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