#2A59C3#2A59C3

#2A59C3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.174 H 263.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#2A59C3
RGBrgb(42, 89, 195)
HSLhsl(222, 65%, 46%)
HSVhsv(222, 78%, 76%)
CMYKcmyk(78.5%, 54.4%, 0%, 23.5%)
CIE-LABlab(40.53, 22.71, -59.95)
CIE-LCHlch(40.53, 64.11, 290.75°)
OKLaboklab(49.54% -0.0201 -0.1729)
OKLCHoklch(49.54% 0.174 263.4)
XYZxyz(14.3740, 11.5755, 53.0959)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59C3 #C3942A
analogous
#2AA6C3 #2A59C3 #482AC3
triadic
#2A59C3 #C32A59 #59C32A
tetradic
#2A59C3 #C32AA6 #C3942A #2AC348
square
#2A59C3 #C32AA6 #C3942A #2AC348
split-complementary
#2A59C3 #C3482A #A6C32A
monochromatic
#142B5E #1F4291 #2A59C3 #517BD9 #83A1E4

Accessibility & contrast

On white

6.33
#2A59C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#2A59C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59C3
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59C3#FFFFFF#000000##FFFFFF
##2A59C31.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#007385
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2a59c3;
/* rgb */ color: rgb(42, 89, 195);
/* oklch */ color: oklch(49.5% 0.174 263.4);
Tailwind
colors: {
  custom: {
    50: '#7b87d6',
    500: '#2a59c3',
    950: '#000000',
  },
}
SCSS
$custom: #2a59c3;
$custom-light: #7b87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59c3",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 195
  },
  "hsl": {
    "h": 221.569,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49538,
    "c": 0.17406,
    "h": 263.4
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#2A59C3
secondary
#CDB47B
accent
#B440E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2A59C3

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

Preview Lab → · Contrast checker → · Palette generator →

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