#2A3563#2A3563

#2A3563 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.082 H 271.4°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2A3563
RGBrgb(42, 53, 99)
HSLhsl(228, 40%, 28%)
HSVhsv(228, 58%, 39%)
CMYKcmyk(57.6%, 46.5%, 0%, 61.2%)
CIE-LABlab(23.47, 10.48, -28.70)
CIE-LCHlch(23.47, 30.55, 290.06°)
OKLaboklab(34.41% 0.002 -0.0816)
OKLCHoklch(34.41% 0.082 271.4)
XYZxyz(4.4793, 3.9390, 12.3262)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3563 #63582A
analogous
#2A5263 #2A3563 #3B2A63
triadic
#2A3563 #632A35 #35632A
tetradic
#2A3563 #632A52 #63582A #2A633B
square
#2A3563 #632A52 #63582A #2A633B
split-complementary
#2A3563 #633B2A #52632A
monochromatic
#090C15 #181E38 #2A3563 #3C4C8E #5265B6

Accessibility & contrast

On white

11.75
#2A3563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2A3563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3563
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3563#FFFFFF#000000##FFFFFF
##2A35631.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B65
Deuteranopia (green-blind)
#1B3662
Tritanopia (blue-blind)
#0D3F47
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2a3563;
/* rgb */ color: rgb(42, 53, 99);
/* oklch */ color: oklch(34.4% 0.082 271.4);
Tailwind
colors: {
  custom: {
    50: '#686c90',
    500: '#2a3563',
    950: '#000000',
  },
}
SCSS
$custom: #2a3563;
$custom-light: #686c90;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3563",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 99
  },
  "hsl": {
    "h": 228.421,
    "s": 40.426,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.0816,
    "h": 271.4
  },
  "luminance": 0.03939
}

Semantic roles & 50–950 ramp

primary
#2A3563
secondary
#958953
accent
#B958D0
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2A3563

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

Preview Lab → · Contrast checker → · Palette generator →

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