#2D3F83#2D3F83

#2D3F83 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.116 H 269.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D3F83
RGBrgb(45, 63, 131)
HSLhsl(227, 49%, 35%)
HSVhsv(227, 66%, 51%)
CMYKcmyk(65.6%, 51.9%, 0%, 48.6%)
CIE-LABlab(28.78, 16.14, -40.54)
CIE-LCHlch(28.78, 43.63, 291.71°)
OKLaboklab(39.2% -0.0014 -0.1162)
OKLCHoklch(39.2% 0.116 269.3)
XYZxyz(6.9550, 5.7510, 22.2119)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F83 #83712D
analogous
#2D6A83 #2D3F83 #462D83
triadic
#2D3F83 #832D3F #3F832D
tetradic
#2D3F83 #832D6A #83712D #2D8346
square
#2D3F83 #832D6A #83712D #2D8346
split-complementary
#2D3F83 #83462D #6A832D
monochromatic
#0E1328 #1D2955 #2D3F83 #3D55B1 #6277C9

Accessibility & contrast

On white

9.77
#2D3F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D3F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F83
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F83#FFFFFF#000000##FFFFFF
##2D3F831.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194885
Deuteranopia (green-blind)
#024082
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d3f83;
/* rgb */ color: rgb(45, 63, 131);
/* oklch */ color: oklch(39.2% 0.116 269.3);
Tailwind
colors: {
  custom: {
    50: '#7073a7',
    500: '#2d3f83',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f83;
$custom-light: #7073a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f83",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 227.442,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39195,
    "c": 0.11617,
    "h": 269.3
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#2D3F83
secondary
#AF9E5C
accent
#BC4FD8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2D3F83

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

Preview Lab → · Contrast checker → · Palette generator →

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