#2D377A#2D377A

#2D377A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.114 H 273.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2D377A
RGBrgb(45, 55, 122)
HSLhsl(232, 46%, 33%)
HSVhsv(232, 63%, 48%)
CMYKcmyk(63.1%, 54.9%, 0%, 52.2%)
CIE-LABlab(25.85, 18.27, -39.61)
CIE-LCHlch(25.85, 43.62, 294.76°)
OKLaboklab(36.78% 0.0062 -0.1135)
OKLCHoklch(36.78% 0.114 273.1)
XYZxyz(5.9601, 4.6949, 19.0007)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D377A #7A702D
analogous
#2D5D7A #2D377A #492D7A
triadic
#2D377A #7A2D37 #377A2D
tetradic
#2D377A #7A2D5D #7A702D #2D7A49
square
#2D377A #7A2D5D #7A702D #2D7A49
split-complementary
#2D377A #7A492D #5D7A2D
monochromatic
#0C0F21 #1D234D #2D377A #3D4BA7 #5E6BC4

Accessibility & contrast

On white

10.83
#2D377A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D377A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D377A
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D377A#FFFFFF#000000##FFFFFF
##2D377A1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#003A79
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d377a;
/* rgb */ color: rgb(45, 55, 122);
/* oklch */ color: oklch(36.8% 0.114 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e6da1',
    500: '#2d377a',
    950: '#000000',
  },
}
SCSS
$custom: #2d377a;
$custom-light: #6e6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d377a",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 122
  },
  "hsl": {
    "h": 232.208,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36777,
    "c": 0.11372,
    "h": 273.1
  },
  "luminance": 0.04695
}

Semantic roles & 50–950 ramp

primary
#2D377A
secondary
#AA9F59
accent
#C552D6
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2D377A

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

Preview Lab → · Contrast checker → · Palette generator →

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