#2A3583#2A3583

#2A3583 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.131 H 272.2°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2A3583
RGBrgb(42, 53, 131)
HSLhsl(233, 51%, 34%)
HSVhsv(233, 68%, 51%)
CMYKcmyk(67.9%, 59.5%, 0%, 48.6%)
CIE-LABlab(25.79, 22.46, -45.37)
CIE-LCHlch(25.79, 50.62, 296.34°)
OKLaboklab(36.9% 0.0051 -0.1306)
OKLCHoklch(36.9% 0.131 272.2)
XYZxyz(6.3233, 4.6766, 22.0378)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A3583 #83782A
analogous
#2A6283 #2A3583 #4C2A83
triadic
#2A3583 #832A35 #35832A
tetradic
#2A3583 #832A62 #83782A #2A834C
square
#2A3583 #832A62 #83782A #2A834C
split-complementary
#2A3583 #834C2A #62832A
monochromatic
#0C1026 #1B2255 #2A3583 #3948B1 #5D6ACB

Accessibility & contrast

On white

10.85
#2A3583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2A3583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A3583
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A3583#FFFFFF#000000##FFFFFF
##2A35831.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004856
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a3583;
/* rgb */ color: rgb(42, 53, 131);
/* oklch */ color: oklch(36.9% 0.131 272.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca8',
    500: '#2a3583',
    950: '#000000',
  },
}
SCSS
$custom: #2a3583;
$custom-light: #6f6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a3583",
  "rgb": {
    "r": 42,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 232.584,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36904,
    "c": 0.13069,
    "h": 272.2
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#2A3583
secondary
#B1A658
accent
#C94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2A3583

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

Preview Lab → · Contrast checker → · Palette generator →

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