#2A4083#2A4083

#2A4083 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.116 H 267.2°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2A4083
RGBrgb(42, 64, 131)
HSLhsl(225, 51%, 34%)
HSVhsv(225, 68%, 51%)
CMYKcmyk(67.9%, 51.1%, 0%, 48.6%)
CIE-LABlab(28.89, 14.90, -40.35)
CIE-LCHlch(28.89, 43.02, 290.27°)
OKLaboklab(39.24% -0.0056 -0.1157)
OKLCHoklch(39.24% 0.116 267.2)
XYZxyz(6.8836, 5.7971, 22.2245)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4083 #836D2A
analogous
#2A6D83 #2A4083 #412A83
triadic
#2A4083 #832A40 #40832A
tetradic
#2A4083 #832A6D #836D2A #2A8341
square
#2A4083 #832A6D #836D2A #2A8341
split-complementary
#2A4083 #83412A #6D832A
monochromatic
#0C1326 #1B2955 #2A4083 #3957B1 #5D78CB

Accessibility & contrast

On white

9.72
#2A4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2A4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4083
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4083#FFFFFF#000000##FFFFFF
##2A40831.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#034082
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2a4083;
/* rgb */ color: rgb(42, 64, 131);
/* oklch */ color: oklch(39.2% 0.116 267.2);
Tailwind
colors: {
  custom: {
    50: '#6e74a7',
    500: '#2a4083',
    950: '#000000',
  },
}
SCSS
$custom: #2a4083;
$custom-light: #6e74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4083",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 225.169,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3924,
    "c": 0.1158,
    "h": 267.2
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#2A4083
secondary
#B19B58
accent
#B84DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A4083

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

Preview Lab → · Contrast checker → · Palette generator →

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