#2D345E#2D345E

#2D345E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.074 H 274.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2D345E
RGBrgb(45, 52, 94)
HSLhsl(231, 35%, 27%)
HSVhsv(231, 52%, 37%)
CMYKcmyk(52.1%, 44.7%, 0%, 63.1%)
CIE-LABlab(23.07, 10.15, -26.05)
CIE-LCHlch(23.07, 27.96, 291.29°)
OKLaboklab(34.06% 0.006 -0.0737)
OKLCHoklch(34.06% 0.074 274.7)
XYZxyz(4.3299, 3.8218, 11.0970)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D345E #5E572D
analogous
#2D4C5E #2D345E #3F2D5E
triadic
#2D345E #5E2D34 #345E2D
tetradic
#2D345E #5E2D4C #5E572D #2D5E3F
square
#2D345E #5E2D4C #5E572D #2D5E3F
split-complementary
#2D345E #5E3F2D #4C5E2D
monochromatic
#0A0B15 #191D35 #2D345E #414B87 #5763AF

Accessibility & contrast

On white

11.90
#2D345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D345E
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D345E#FFFFFF#000000##FFFFFF
##2D345E1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233960
Deuteranopia (green-blind)
#1F355D
Tritanopia (blue-blind)
#1A3D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d345e;
/* rgb */ color: rgb(45, 52, 94);
/* oklch */ color: oklch(34.1% 0.074 274.7);
Tailwind
colors: {
  custom: {
    50: '#696b8c',
    500: '#2d345e',
    950: '#000000',
  },
}
SCSS
$custom: #2d345e;
$custom-light: #696b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d345e",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 231.429,
    "s": 35.252,
    "l": 27.255
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.07399,
    "h": 274.7
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#2D345E
secondary
#908857
accent
#BB5DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2D345E

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

Preview Lab → · Contrast checker → · Palette generator →

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