#2D4685#2D4685

#2D4685 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.110 H 265.5°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#2D4685
RGBrgb(45, 70, 133)
HSLhsl(223, 49%, 35%)
HSVhsv(223, 66%, 52%)
CMYKcmyk(66.2%, 47.4%, 0%, 47.8%)
CIE-LABlab(30.95, 12.12, -38.28)
CIE-LCHlch(30.95, 40.16, 287.57°)
OKLaboklab(40.9% -0.0085 -0.1094)
OKLCHoklch(40.9% 0.11 265.5)
XYZxyz(7.5045, 6.6310, 23.0702)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4685 #856C2D
analogous
#2D7285 #2D4685 #402D85
triadic
#2D4685 #852D46 #46852D
tetradic
#2D4685 #852D72 #856C2D #2D8540
square
#2D4685 #852D72 #856C2D #2D8540
split-complementary
#2D4685 #85402D #72852D
monochromatic
#0E162A #1E2E57 #2D4685 #3C5EB3 #6280CA

Accessibility & contrast

On white

9.03
#2D4685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2D4685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4685
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4685#FFFFFF#000000##FFFFFF
##2D46851.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274D87
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2d4685;
/* rgb */ color: rgb(45, 70, 133);
/* oklch */ color: oklch(40.9% 0.110 265.5);
Tailwind
colors: {
  custom: {
    50: '#7079a9',
    500: '#2d4685',
    950: '#000000',
  },
}
SCSS
$custom: #2d4685;
$custom-light: #7079a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4685",
  "rgb": {
    "r": 45,
    "g": 70,
    "b": 133
  },
  "hsl": {
    "h": 222.955,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.10975,
    "h": 265.5
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#2D4685
secondary
#B0995D
accent
#B24FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2D4685

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

Preview Lab → · Contrast checker → · Palette generator →

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