#2A59A1#2A59A1

#2A59A1 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.127 H 258.8°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2A59A1
RGBrgb(42, 89, 161)
HSLhsl(216, 59%, 40%)
HSVhsv(216, 74%, 63%)
CMYKcmyk(73.9%, 44.7%, 0%, 36.9%)
CIE-LABlab(38.21, 9.67, -43.67)
CIE-LCHlch(38.21, 44.72, 282.48°)
OKLaboklab(47.03% -0.0247 -0.125)
OKLCHoklch(47.03% 0.127 258.8)
XYZxyz(10.9579, 10.2090, 35.1043)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A59A1 #A1722A
analogous
#2A94A1 #2A59A1 #372AA1
triadic
#2A59A1 #A12A59 #59A12A
tetradic
#2A59A1 #A12A94 #A1722A #2AA137
square
#2A59A1 #A12A94 #A1722A #2AA137
split-complementary
#2A59A1 #A1372A #94A12A
monochromatic
#112340 #1D3E70 #2A59A1 #3C75CC #6D97D9

Accessibility & contrast

On white

6.90
#2A59A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2A59A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A59A1
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A59A1#FFFFFF#000000##FFFFFF
##2A59A11.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A4
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2a59a1;
/* rgb */ color: rgb(42, 89, 161);
/* oklch */ color: oklch(47.0% 0.127 258.8);
Tailwind
colors: {
  custom: {
    50: '#7487bd',
    500: '#2a59a1',
    950: '#000000',
  },
}
SCSS
$custom: #2a59a1;
$custom-light: #7487bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a59a1",
  "rgb": {
    "r": 42,
    "g": 89,
    "b": 161
  },
  "hsl": {
    "h": 216.303,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47026,
    "c": 0.12741,
    "h": 258.8
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#2A59A1
secondary
#C09D67
accent
#A446E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2A59A1

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

Preview Lab → · Contrast checker → · Palette generator →

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