#2A59CA#2A59CA

#2A59CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.183 H 263.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#2A59CA
RGBrgb(42, 89, 202)
HSLhsl(222, 66%, 48%)
HSVhsv(222, 79%, 79%)
CMYKcmyk(79.2%, 55.9%, 0%, 20.8%)
CIE-LABlab(41.06, 25.37, -63.16)
CIE-LCHlch(41.06, 68.06, 291.89°)
OKLaboklab(50.1% -0.0195 -0.1823)
OKLCHoklch(50.1% 0.183 263.9)
XYZxyz(15.1841, 11.8995, 57.3622)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59CA #CA9B2A
analogous
#2AA9CA #2A59CA #4B2ACA
triadic
#2A59CA #CA2A59 #59CA2A
tetradic
#2A59CA #CA2AA9 #CA9B2A #2ACA4B
square
#2A59CA #CA2AA9 #CA9B2A #2ACA4B
split-complementary
#2A59CA #CA4B2A #A9CA2A
monochromatic
#152C65 #1F4397 #2A59CA #557DDC #88A4E6

Accessibility & contrast

On white

6.21
#2A59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2A59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59CA#FFFFFF#000000##FFFFFF
##2A59CA1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2a59ca;
/* rgb */ color: rgb(42, 89, 202);
/* oklch */ color: oklch(50.1% 0.183 263.9);
Tailwind
colors: {
  custom: {
    50: '#7d87db',
    500: '#2a59ca',
    950: '#000000',
  },
}
SCSS
$custom: #2a59ca;
$custom-light: #7d87db;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59ca",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 222.375,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50098,
    "c": 0.18336,
    "h": 263.9
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#2A59CA
secondary
#D0B880
accent
#B73FE9
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2A59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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