#2A4583#2A4583

#2A4583 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.4% C 0.109 H 264.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2A4583
RGBrgb(42, 69, 131)
HSLhsl(222, 51%, 34%)
HSVhsv(222, 68%, 51%)
CMYKcmyk(67.9%, 47.3%, 0%, 48.6%)
CIE-LABlab(30.37, 11.49, -37.99)
CIE-LCHlch(30.37, 39.69, 286.83°)
OKLaboklab(40.37% -0.0107 -0.1086)
OKLCHoklch(40.37% 0.109 264.4)
XYZxyz(7.1783, 6.3865, 22.3228)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4583 #83682A
analogous
#2A7283 #2A4583 #3C2A83
triadic
#2A4583 #832A45 #45832A
tetradic
#2A4583 #832A72 #83682A #2A833C
square
#2A4583 #832A72 #83682A #2A833C
split-complementary
#2A4583 #833C2A #72832A
monochromatic
#0C1426 #1B2D55 #2A4583 #395DB1 #5D7ECB

Accessibility & contrast

On white

9.22
#2A4583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A4583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4583
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4583#FFFFFF#000000##FFFFFF
##2A45831.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264C85
Deuteranopia (green-blind)
#164482
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4583;
/* rgb */ color: rgb(42, 69, 131);
/* oklch */ color: oklch(40.4% 0.109 264.4);
Tailwind
colors: {
  custom: {
    50: '#6e78a7',
    500: '#2a4583',
    950: '#000000',
  },
}
SCSS
$custom: #2a4583;
$custom-light: #6e78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4583",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 131
  },
  "hsl": {
    "h": 221.798,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.10916,
    "h": 264.4
  },
  "luminance": 0.06387
}

Semantic roles & 50–950 ramp

primary
#2A4583
secondary
#B19658
accent
#B04DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A4583

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

Preview Lab → · Contrast checker → · Palette generator →

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