#2A4483#2A4483

#2A4483 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.1% C 0.110 H 265.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#2A4483
RGBrgb(42, 68, 131)
HSLhsl(222, 51%, 34%)
HSVhsv(222, 68%, 51%)
CMYKcmyk(67.9%, 48.1%, 0%, 48.6%)
CIE-LABlab(30.07, 12.17, -38.46)
CIE-LCHlch(30.07, 40.34, 287.56°)
OKLaboklab(40.14% -0.0097 -0.11)
OKLCHoklch(40.14% 0.11 265)
XYZxyz(7.1173, 6.2645, 22.3024)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4483 #83692A
analogous
#2A7183 #2A4483 #3D2A83
triadic
#2A4483 #832A44 #44832A
tetradic
#2A4483 #832A71 #83692A #2A833D
square
#2A4483 #832A71 #83692A #2A833D
split-complementary
#2A4483 #833D2A #71832A
monochromatic
#0C1426 #1B2C55 #2A4483 #395CB1 #5D7DCB

Accessibility & contrast

On white

9.32
#2A4483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2A4483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4483
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4483#FFFFFF#000000##FFFFFF
##2A44831.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244B85
Deuteranopia (green-blind)
#134382
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4483;
/* rgb */ color: rgb(42, 68, 131);
/* oklch */ color: oklch(40.1% 0.110 265.0);
Tailwind
colors: {
  custom: {
    50: '#6e77a7',
    500: '#2a4483',
    950: '#000000',
  },
}
SCSS
$custom: #2a4483;
$custom-light: #6e77a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4483",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 131
  },
  "hsl": {
    "h": 222.472,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.11047,
    "h": 265
  },
  "luminance": 0.06265
}

Semantic roles & 50–950 ramp

primary
#2A4483
secondary
#B19758
accent
#B14DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2A4483

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

Preview Lab → · Contrast checker → · Palette generator →

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