#2D4273#2D4273

#2D4273 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.088 H 265.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#2D4273
RGBrgb(45, 66, 115)
HSLhsl(222, 44%, 31%)
HSVhsv(222, 61%, 45%)
CMYKcmyk(60.9%, 42.6%, 0%, 54.9%)
CIE-LABlab(28.62, 8.12, -30.75)
CIE-LCHlch(28.62, 31.80, 284.79°)
OKLaboklab(38.74% -0.0075 -0.0873)
OKLCHoklch(38.74% 0.088 265.1)
XYZxyz(6.1239, 5.6916, 16.9922)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4273 #735E2D
analogous
#2D6573 #2D4273 #3B2D73
triadic
#2D4273 #732D42 #42732D
tetradic
#2D4273 #732D65 #735E2D #2D733B
square
#2D4273 #732D65 #735E2D #2D733B
split-complementary
#2D4273 #733B2D #65732D
monochromatic
#0B101B #1C2947 #2D4273 #3E5B9F #5B79BF

Accessibility & contrast

On white

9.82
#2D4273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2D4273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4273
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4273#FFFFFF#000000##FFFFFF
##2D42731.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4273;
/* rgb */ color: rgb(45, 66, 115);
/* oklch */ color: oklch(38.7% 0.088 265.1);
Tailwind
colors: {
  custom: {
    50: '#6c769b',
    500: '#2d4273',
    950: '#000000',
  },
}
SCSS
$custom: #2d4273;
$custom-light: #6c769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4273",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 222,
    "s": 43.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3874,
    "c": 0.08767,
    "h": 265.1
  },
  "luminance": 0.05692
}

Semantic roles & 50–950 ramp

primary
#2D4273
secondary
#A48D57
accent
#AD54D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2D4273

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

Preview Lab → · Contrast checker → · Palette generator →

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