#2A4285#2A4285

#2A4285 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.116 H 266.4°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2A4285
RGBrgb(42, 66, 133)
HSLhsl(224, 52%, 34%)
HSVhsv(224, 68%, 52%)
CMYKcmyk(68.4%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.62, 14.30, -40.43)
CIE-LCHlch(29.62, 42.89, 289.48°)
OKLaboklab(39.84% -0.0073 -0.1159)
OKLCHoklch(39.84% 0.116 266.4)
XYZxyz(7.1352, 6.0814, 22.9836)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4285 #856D2A
analogous
#2A7085 #2A4285 #402A85
triadic
#2A4285 #852A42 #42852A
tetradic
#2A4285 #852A70 #856D2A #2A8540
square
#2A4285 #852A70 #856D2A #2A8540
split-complementary
#2A4285 #85402A #70852A
monochromatic
#0D1428 #1B2B56 #2A4285 #3959B4 #5D7BCC

Accessibility & contrast

On white

9.47
#2A4285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2A4285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4285
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4285#FFFFFF#000000##FFFFFF
##2A42851.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#064284
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2a4285;
/* rgb */ color: rgb(42, 66, 133);
/* oklch */ color: oklch(39.8% 0.116 266.4);
Tailwind
colors: {
  custom: {
    50: '#6e75a9',
    500: '#2a4285',
    950: '#000000',
  },
}
SCSS
$custom: #2a4285;
$custom-light: #6e75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4285",
  "rgb": {
    "r": 42,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 224.176,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39835,
    "c": 0.1161,
    "h": 266.4
  },
  "luminance": 0.06082
}

Semantic roles & 50–950 ramp

primary
#2A4285
secondary
#B29A59
accent
#B64CDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4285

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

Preview Lab → · Contrast checker → · Palette generator →

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