#2D4A88#2D4A88

#2D4A88 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.0% C 0.109 H 263.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#2D4A88
RGBrgb(45, 74, 136)
HSLhsl(221, 50%, 35%)
HSVhsv(221, 67%, 53%)
CMYKcmyk(66.9%, 45.6%, 0%, 46.7%)
CIE-LABlab(32.33, 10.56, -37.93)
CIE-LCHlch(32.33, 39.37, 285.56°)
OKLaboklab(42.02% -0.0122 -0.1083)
OKLCHoklch(42.02% 0.109 263.5)
XYZxyz(7.9733, 7.2323, 24.2636)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A88 #886B2D
analogous
#2D7788 #2D4A88 #3D2D88
triadic
#2D4A88 #882D4A #4A882D
tetradic
#2D4A88 #882D77 #886B2D #2D883D
square
#2D4A88 #882D77 #886B2D #2D883D
split-complementary
#2D4A88 #883D2D #77882D
monochromatic
#0F182C #1E315A #2D4A88 #3C63B6 #6485CC

Accessibility & contrast

On white

8.58
#2D4A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2D4A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A88
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A88#FFFFFF#000000##FFFFFF
##2D4A881.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518A
Deuteranopia (green-blind)
#1D4887
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2d4a88;
/* rgb */ color: rgb(45, 74, 136);
/* oklch */ color: oklch(42.0% 0.109 263.5);
Tailwind
colors: {
  custom: {
    50: '#707cab',
    500: '#2d4a88',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a88;
$custom-light: #707cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a88",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 136
  },
  "hsl": {
    "h": 220.879,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.10901,
    "h": 263.5
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#2D4A88
secondary
#B2985F
accent
#AD4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4A88

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

Preview Lab → · Contrast checker → · Palette generator →

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