#2D4083#2D4083

#2D4083 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.115 H 268.8°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2D4083
RGBrgb(45, 64, 131)
HSLhsl(227, 49%, 35%)
HSVhsv(227, 66%, 51%)
CMYKcmyk(65.6%, 51.1%, 0%, 48.6%)
CIE-LABlab(29.06, 15.45, -40.07)
CIE-LCHlch(29.06, 42.95, 291.09°)
OKLaboklab(39.41% -0.0025 -0.1148)
OKLCHoklch(39.41% 0.115 268.8)
XYZxyz(7.0109, 5.8628, 22.2305)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4083 #83702D
analogous
#2D6B83 #2D4083 #452D83
triadic
#2D4083 #832D40 #40832D
tetradic
#2D4083 #832D6B #83702D #2D8345
square
#2D4083 #832D6B #83702D #2D8345
split-complementary
#2D4083 #83452D #6B832D
monochromatic
#0E1328 #1D2A55 #2D4083 #3D56B1 #6278C9

Accessibility & contrast

On white

9.67
#2D4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2D4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4083
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4083#FFFFFF#000000##FFFFFF
##2D40831.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4985
Deuteranopia (green-blind)
#074182
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4083;
/* rgb */ color: rgb(45, 64, 131);
/* oklch */ color: oklch(39.4% 0.115 268.8);
Tailwind
colors: {
  custom: {
    50: '#6f74a7',
    500: '#2d4083',
    950: '#000000',
  },
}
SCSS
$custom: #2d4083;
$custom-light: #6f74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4083",
  "rgb": {
    "r": 45,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 226.744,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39414,
    "c": 0.11481,
    "h": 268.8
  },
  "luminance": 0.05863
}

Semantic roles & 50–950 ramp

primary
#2D4083
secondary
#AF9D5C
accent
#BA4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4083

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

Preview Lab → · Contrast checker → · Palette generator →

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