#2A4485#2A4485

#2A4485 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.113 H 265.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2A4485
RGBrgb(42, 68, 133)
HSLhsl(223, 52%, 34%)
HSVhsv(223, 68%, 52%)
CMYKcmyk(68.4%, 48.9%, 0%, 47.8%)
CIE-LABlab(30.20, 12.93, -39.49)
CIE-LCHlch(30.20, 41.55, 288.14°)
OKLaboklab(40.28% -0.0094 -0.1131)
OKLCHoklch(40.28% 0.113 265.3)
XYZxyz(7.2541, 6.3192, 23.0232)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4485 #856B2A
analogous
#2A7285 #2A4485 #3E2A85
triadic
#2A4485 #852A44 #44852A
tetradic
#2A4485 #852A72 #856B2A #2A853E
square
#2A4485 #852A72 #856B2A #2A853E
split-complementary
#2A4485 #853E2A #72852A
monochromatic
#0D1428 #1B2C56 #2A4485 #395CB4 #5D7DCC

Accessibility & contrast

On white

9.28
#2A4485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2A4485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4485
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4485#FFFFFF#000000##FFFFFF
##2A44851.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C87
Deuteranopia (green-blind)
#0F4384
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2a4485;
/* rgb */ color: rgb(42, 68, 133);
/* oklch */ color: oklch(40.3% 0.113 265.3);
Tailwind
colors: {
  custom: {
    50: '#6e77a9',
    500: '#2a4485',
    950: '#000000',
  },
}
SCSS
$custom: #2a4485;
$custom-light: #6e77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4485",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 222.857,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40283,
    "c": 0.11346,
    "h": 265.3
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#2A4485
secondary
#B29859
accent
#B34CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4485

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

Preview Lab → · Contrast checker → · Palette generator →

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