#2D347B#2D347B

#2D347B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.2% C 0.119 H 274.5°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2D347B
RGBrgb(45, 52, 123)
HSLhsl(235, 46%, 33%)
HSVhsv(235, 63%, 48%)
CMYKcmyk(63.4%, 57.7%, 0%, 51.8%)
CIE-LABlab(25.09, 20.70, -41.47)
CIE-LCHlch(25.09, 46.35, 296.52°)
OKLaboklab(36.23% 0.0094 -0.1191)
OKLCHoklch(36.23% 0.119 274.5)
XYZxyz(5.8842, 4.4435, 19.2826)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D347B #7B742D
analogous
#2D5B7B #2D347B #4D2D7B
triadic
#2D347B #7B2D34 #347B2D
tetradic
#2D347B #7B2D5B #7B742D #2D7B4D
square
#2D347B #7B2D5B #7B742D #2D7B4D
split-complementary
#2D347B #7B4D2D #5B7B2D
monochromatic
#0C0E21 #1D214E #2D347B #3D47A8 #5E67C4

Accessibility & contrast

On white

11.12
#2D347B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D347B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D347B
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D347B#FFFFFF#000000##FFFFFF
##2D347B1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00387A
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d347b;
/* rgb */ color: rgb(45, 52, 123);
/* oklch */ color: oklch(36.2% 0.119 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ba2',
    500: '#2d347b',
    950: '#000000',
  },
}
SCSS
$custom: #2d347b;
$custom-light: #6f6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d347b",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 234.615,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36231,
    "c": 0.11943,
    "h": 274.5
  },
  "luminance": 0.04444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D347B

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

Preview Lab → · Contrast checker → · Palette generator →

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