#2D4288#2D4288

#2D4288 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.2% C 0.120 H 268.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#2D4288
RGBrgb(45, 66, 136)
HSLhsl(226, 50%, 35%)
HSVhsv(226, 67%, 53%)
CMYKcmyk(66.9%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.99, 15.97, -41.68)
CIE-LCHlch(29.99, 44.64, 290.97°)
OKLaboklab(40.23% -0.004 -0.1195)
OKLCHoklch(40.23% 0.12 268.1)
XYZxyz(7.4728, 6.2312, 24.0967)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4288 #88732D
analogous
#2D6F88 #2D4288 #452D88
triadic
#2D4288 #882D42 #42882D
tetradic
#2D4288 #882D6F #88732D #2D8845
square
#2D4288 #882D6F #88732D #2D8845
split-complementary
#2D4288 #88452D #6F882D
monochromatic
#0F152C #1E2C5A #2D4288 #3C58B6 #647CCC

Accessibility & contrast

On white

9.35
#2D4288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#2D4288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4288
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4288#FFFFFF#000000##FFFFFF
##2D42881.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4B8B
Deuteranopia (green-blind)
#014387
Tritanopia (blue-blind)
#00525E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2d4288;
/* rgb */ color: rgb(45, 66, 136);
/* oklch */ color: oklch(40.2% 0.120 268.1);
Tailwind
colors: {
  custom: {
    50: '#7076ab',
    500: '#2d4288',
    950: '#000000',
  },
}
SCSS
$custom: #2d4288;
$custom-light: #7076ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4288",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 226.154,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40228,
    "c": 0.11956,
    "h": 268.1
  },
  "luminance": 0.06232
}

Semantic roles & 50–950 ramp

primary
#2D4288
secondary
#B29F5F
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2D4288

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

Preview Lab → · Contrast checker → · Palette generator →

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