#2D4183#2D4183

#2D4183 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.113 H 268.2°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#2D4183
RGBrgb(45, 65, 131)
HSLhsl(226, 49%, 35%)
HSVhsv(226, 66%, 51%)
CMYKcmyk(65.6%, 50.4%, 0%, 48.6%)
CIE-LABlab(29.35, 14.77, -39.61)
CIE-LCHlch(29.35, 42.27, 290.45°)
OKLaboklab(39.63% -0.0035 -0.1134)
OKLCHoklch(39.63% 0.113 268.2)
XYZxyz(7.0678, 5.9765, 22.2495)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4183 #836F2D
analogous
#2D6C83 #2D4183 #442D83
triadic
#2D4183 #832D41 #41832D
tetradic
#2D4183 #832D6C #836F2D #2D8344
square
#2D4183 #832D6C #836F2D #2D8344
split-complementary
#2D4183 #83442D #6C832D
monochromatic
#0E1428 #1D2A55 #2D4183 #3D58B1 #627AC9

Accessibility & contrast

On white

9.57
#2D4183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2D4183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4183
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4183#FFFFFF#000000##FFFFFF
##2D41831.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#0B4182
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2d4183;
/* rgb */ color: rgb(45, 65, 131);
/* oklch */ color: oklch(39.6% 0.113 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f75a7',
    500: '#2d4183',
    950: '#000000',
  },
}
SCSS
$custom: #2d4183;
$custom-light: #6f75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4183",
  "rgb": {
    "r": 45,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 226.047,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.11345,
    "h": 268.2
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#2D4183
secondary
#AF9C5C
accent
#B94FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D4183

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

Preview Lab → · Contrast checker → · Palette generator →

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