#2A359C#2A359C

#2A359C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.166 H 271.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2A359C
RGBrgb(42, 53, 156)
HSLhsl(234, 58%, 39%)
HSVhsv(234, 73%, 61%)
CMYKcmyk(73.1%, 66%, 0%, 38.8%)
CIE-LABlab(27.95, 31.74, -57.29)
CIE-LCHlch(27.95, 65.49, 298.99°)
OKLaboklab(39.16% 0.0043 -0.1655)
OKLCHoklch(39.16% 0.166 271.5)
XYZxyz(8.2267, 5.4379, 32.0621)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A359C #9C912A
analogous
#2A6E9C #2A359C #582A9C
triadic
#2A359C #9C2A35 #359C2A
tetradic
#2A359C #9C2A6E #9C912A #2A9C58
square
#2A359C #9C2A6E #9C912A #2A9C58
split-complementary
#2A359C #9C582A #6E9C2A
monochromatic
#10143C #1D256C #2A359C #3947CA #6A74D7

Accessibility & contrast

On white

10.06
#2A359C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2A359C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A359C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A359C#FFFFFF#000000##FFFFFF
##2A359C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2a359c;
/* rgb */ color: rgb(42, 53, 156);
/* oklch */ color: oklch(39.2% 0.166 271.5);
Tailwind
colors: {
  custom: {
    50: '#756cba',
    500: '#2a359c',
    950: '#000000',
  },
}
SCSS
$custom: #2a359c;
$custom-light: #756cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a359c",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 156
  },
  "hsl": {
    "h": 234.211,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.16561,
    "h": 271.5
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#2A359C
secondary
#BDB565
accent
#D247E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2A359C

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

Preview Lab → · Contrast checker → · Palette generator →

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