#2A4685#2A4685

#2A4685 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.111 H 264.1°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#2A4685
RGBrgb(42, 70, 133)
HSLhsl(222, 52%, 34%)
HSVhsv(222, 68%, 52%)
CMYKcmyk(68.4%, 47.4%, 0%, 47.8%)
CIE-LABlab(30.80, 11.57, -38.54)
CIE-LCHlch(30.80, 40.24, 286.72°)
OKLaboklab(40.74% -0.0114 -0.1102)
OKLCHoklch(40.74% 0.111 264.1)
XYZxyz(7.3772, 6.5653, 23.0642)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4685 #85692A
analogous
#2A7485 #2A4685 #3B2A85
triadic
#2A4685 #852A46 #46852A
tetradic
#2A4685 #852A74 #85692A #2A853B
square
#2A4685 #852A74 #85692A #2A853B
split-complementary
#2A4685 #853B2A #74852A
monochromatic
#0D1528 #1B2E56 #2A4685 #395EB4 #5D7FCC

Accessibility & contrast

On white

9.08
#2A4685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2A4685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4685
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4685#FFFFFF#000000##FFFFFF
##2A46851.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#154584
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4685;
/* rgb */ color: rgb(42, 70, 133);
/* oklch */ color: oklch(40.7% 0.111 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e79a9',
    500: '#2a4685',
    950: '#000000',
  },
}
SCSS
$custom: #2a4685;
$custom-light: #6e79a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4685",
  "rgb": {
    "r": 42,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 221.538,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.11083,
    "h": 264.1
  },
  "luminance": 0.06566
}

Semantic roles & 50–950 ramp

primary
#2A4685
secondary
#B29659
accent
#AF4CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2A4685

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

Preview Lab → · Contrast checker → · Palette generator →

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