#2A4488#2A4488

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

Color values

HEX#2A4488
RGBrgb(42, 68, 136)
HSLhsl(223, 53%, 35%)
HSVhsv(223, 69%, 53%)
CMYKcmyk(69.1%, 50%, 0%, 46.7%)
CIE-LABlab(30.41, 14.08, -41.02)
CIE-LCHlch(30.41, 43.37, 288.95°)
OKLaboklab(40.5% -0.0089 -0.1176)
OKLCHoklch(40.5% 0.118 265.7)
XYZxyz(7.4644, 6.4033, 24.1304)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A4488 #886E2A
analogous
#2A7388 #2A4488 #3F2A88
triadic
#2A4488 #882A44 #44882A
tetradic
#2A4488 #882A73 #886E2A #2A883F
square
#2A4488 #882A73 #886E2A #2A883F
split-complementary
#2A4488 #883F2A #73882A
monochromatic
#0D152A #1C2D59 #2A4488 #385BB7 #5F7DCE

Accessibility & contrast

On white

9.21
#2A4488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2A4488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A4488
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A4488#FFFFFF#000000##FFFFFF
##2A44881.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8A
Deuteranopia (green-blind)
#074487
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2a4488;
/* rgb */ color: rgb(42, 68, 136);
/* oklch */ color: oklch(40.5% 0.118 265.7);
Tailwind
colors: {
  custom: {
    50: '#6f77ab',
    500: '#2a4488',
    950: '#000000',
  },
}
SCSS
$custom: #2a4488;
$custom-light: #6f77ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2a4488",
  "rgb": {
    "r": 42,
    "g": 68,
    "b": 136
  },
  "hsl": {
    "h": 223.404,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.1179,
    "h": 265.7
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#2A4488
secondary
#B39B5B
accent
#B44CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2A4488

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

Preview Lab → · Contrast checker → · Palette generator →

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