#2A4A85#2A4A85

#2A4A85 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.106 H 261.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2A4A85
RGBrgb(42, 74, 133)
HSLhsl(219, 52%, 34%)
HSVhsv(219, 68%, 52%)
CMYKcmyk(68.4%, 44.4%, 0%, 47.8%)
CIE-LABlab(31.99, 8.88, -36.62)
CIE-LCHlch(31.99, 37.68, 283.62°)
OKLaboklab(41.66% -0.0156 -0.1045)
OKLCHoklch(41.66% 0.106 261.5)
XYZxyz(7.6358, 7.0825, 23.1504)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4A85 #85652A
analogous
#2A7885 #2A4A85 #382A85
triadic
#2A4A85 #852A4A #4A852A
tetradic
#2A4A85 #852A78 #85652A #2A8538
square
#2A4A85 #852A78 #85652A #2A8538
split-complementary
#2A4A85 #85382A #78852A
monochromatic
#0D1628 #1B3056 #2A4A85 #3964B4 #5D84CC

Accessibility & contrast

On white

8.69
#2A4A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2A4A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4A85
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4A85#FFFFFF#000000##FFFFFF
##2A4A851.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#1F4784
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2a4a85;
/* rgb */ color: rgb(42, 74, 133);
/* oklch */ color: oklch(41.7% 0.106 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ca9',
    500: '#2a4a85',
    950: '#000000',
  },
}
SCSS
$custom: #2a4a85;
$custom-light: #6e7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4a85",
  "rgb": {
    "r": 42,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 218.901,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41658,
    "c": 0.10569,
    "h": 261.5
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#2A4A85
secondary
#B29359
accent
#A94CDB
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4A85

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

Preview Lab → · Contrast checker → · Palette generator →

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