#2D347A#2D347A

#2D347A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.1% C 0.118 H 274.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2D347A
RGBrgb(45, 52, 122)
HSLhsl(235, 46%, 33%)
HSVhsv(235, 63%, 48%)
CMYKcmyk(63.1%, 57.4%, 0%, 52.2%)
CIE-LABlab(25.01, 20.33, -40.97)
CIE-LCHlch(25.01, 45.73, 296.39°)
OKLaboklab(36.15% 0.0094 -0.1176)
OKLCHoklch(36.15% 0.118 274.6)
XYZxyz(5.8219, 4.4186, 18.9546)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D347A #7A732D
analogous
#2D5B7A #2D347A #4C2D7A
triadic
#2D347A #7A2D34 #347A2D
tetradic
#2D347A #7A2D5B #7A732D #2D7A4C
square
#2D347A #7A2D5B #7A732D #2D7A4C
split-complementary
#2D347A #7A4C2D #5B7A2D
monochromatic
#0C0E21 #1D214D #2D347A #3D47A7 #5E67C4

Accessibility & contrast

On white

11.15
#2D347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2D347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D347A
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D347A#FFFFFF#000000##FFFFFF
##2D347A1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013F7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d347a;
/* rgb */ color: rgb(45, 52, 122);
/* oklch */ color: oklch(36.1% 0.118 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e6ba1',
    500: '#2d347a',
    950: '#000000',
  },
}
SCSS
$custom: #2d347a;
$custom-light: #6e6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d347a",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 234.545,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36149,
    "c": 0.11794,
    "h": 274.6
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#2D347A
secondary
#AAA359
accent
#CA52D6
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D347A

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

Preview Lab → · Contrast checker → · Palette generator →

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