#2A4585#2A4585

#2A4585 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.112 H 264.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#2A4585
RGBrgb(42, 69, 133)
HSLhsl(222, 52%, 34%)
HSVhsv(222, 68%, 52%)
CMYKcmyk(68.4%, 48.1%, 0%, 47.8%)
CIE-LABlab(30.50, 12.25, -39.01)
CIE-LCHlch(30.50, 40.89, 287.44°)
OKLaboklab(40.51% -0.0104 -0.1116)
OKLCHoklch(40.51% 0.112 264.7)
XYZxyz(7.3151, 6.4412, 23.0435)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4585 #856A2A
analogous
#2A7385 #2A4585 #3D2A85
triadic
#2A4585 #852A45 #45852A
tetradic
#2A4585 #852A73 #856A2A #2A853D
square
#2A4585 #852A73 #856A2A #2A853D
split-complementary
#2A4585 #853D2A #73852A
monochromatic
#0D1528 #1B2D56 #2A4585 #395DB4 #5D7ECC

Accessibility & contrast

On white

9.18
#2A4585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2A4585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4585
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4585#FFFFFF#000000##FFFFFF
##2A45851.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#124484
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4585;
/* rgb */ color: rgb(42, 69, 133);
/* oklch */ color: oklch(40.5% 0.112 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e78a9',
    500: '#2a4585',
    950: '#000000',
  },
}
SCSS
$custom: #2a4585;
$custom-light: #6e78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4585",
  "rgb": {
    "r": 42,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 222.198,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.11213,
    "h": 264.7
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#2A4585
secondary
#B29759
accent
#B14CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4585

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

Preview Lab → · Contrast checker → · Palette generator →

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