#2D345D#2D345D

#2D345D is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.072 H 274.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2D345D
RGBrgb(45, 52, 93)
HSLhsl(231, 35%, 27%)
HSVhsv(231, 52%, 36%)
CMYKcmyk(51.6%, 44.1%, 0%, 63.5%)
CIE-LABlab(23.01, 9.80, -25.50)
CIE-LCHlch(23.01, 27.31, 291.03°)
OKLaboklab(34% 0.0058 -0.0721)
OKLCHoklch(34% 0.072 274.6)
XYZxyz(4.2853, 3.8039, 10.8622)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D345D #5D562D
analogous
#2D4C5D #2D345D #3E2D5D
triadic
#2D345D #5D2D34 #345D2D
tetradic
#2D345D #5D2D4C #5D562D #2D5D3E
square
#2D345D #5D2D4C #5D562D #2D5D3E
split-complementary
#2D345D #5D3E2D #4C5D2D
monochromatic
#0A0C15 #191D34 #2D345D #414B86 #5763AE

Accessibility & contrast

On white

11.93
#2D345D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D345D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D345D
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D345D#FFFFFF#000000##FFFFFF
##2D345D1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24395F
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#1B3D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d345d;
/* rgb */ color: rgb(45, 52, 93);
/* oklch */ color: oklch(34.0% 0.072 274.6);
Tailwind
colors: {
  custom: {
    50: '#696b8b',
    500: '#2d345d',
    950: '#000000',
  },
}
SCSS
$custom: #2d345d;
$custom-light: #696b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d345d",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 93
  },
  "hsl": {
    "h": 231.25,
    "s": 34.783,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33996,
    "c": 0.07235,
    "h": 274.6
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#2D345D
secondary
#8F8757
accent
#BB5DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2D345D

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

Preview Lab → · Contrast checker → · Palette generator →

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