#2D345B#2D345B

#2D345B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.069 H 274.4°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#2D345B
RGBrgb(45, 52, 91)
HSLhsl(231, 34%, 27%)
HSVhsv(231, 51%, 36%)
CMYKcmyk(50.5%, 42.9%, 0%, 64.3%)
CIE-LABlab(22.89, 9.10, -24.37)
CIE-LCHlch(22.89, 26.02, 290.47°)
OKLaboklab(33.87% 0.0053 -0.0688)
OKLCHoklch(33.87% 0.069 274.4)
XYZxyz(4.1979, 3.7690, 10.4018)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D345B #5B542D
analogous
#2D4B5B #2D345B #3D2D5B
triadic
#2D345B #5B2D34 #345B2D
tetradic
#2D345B #5B2D4B #5B542D #2D5B3D
square
#2D345B #5B2D4B #5B542D #2D5B3D
split-complementary
#2D345B #5B3D2D #4B5B2D
monochromatic
#0A0C14 #191D32 #2D345B #414B84 #5764AC

Accessibility & contrast

On white

11.97
#2D345B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2D345B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D345B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D345B#FFFFFF#000000##FFFFFF
##2D345B1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395D
Deuteranopia (green-blind)
#21355A
Tritanopia (blue-blind)
#1C3C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d345b;
/* rgb */ color: rgb(45, 52, 91);
/* oklch */ color: oklch(33.9% 0.069 274.4);
Tailwind
colors: {
  custom: {
    50: '#696b89',
    500: '#2d345b',
    950: '#000000',
  },
}
SCSS
$custom: #2d345b;
$custom-light: #696b89;
$custom-dark: #000000;
JSON
{
  "hex": "#2d345b",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 91
  },
  "hsl": {
    "h": 230.87,
    "s": 33.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.06905,
    "h": 274.4
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#2D345B
secondary
#8D8557
accent
#B95ECA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2D345B

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

Preview Lab → · Contrast checker → · Palette generator →

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