#2D385F#2D385F

#2D385F is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.1% C 0.070 H 270.6°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#2D385F
RGBrgb(45, 56, 95)
HSLhsl(227, 36%, 27%)
HSVhsv(227, 53%, 37%)
CMYKcmyk(52.6%, 41.1%, 0%, 62.7%)
CIE-LABlab(24.36, 7.73, -24.67)
CIE-LCHlch(24.36, 25.85, 287.40°)
OKLaboklab(35.07% 0.0007 -0.0697)
OKLCHoklch(35.07% 0.07 270.6)
XYZxyz(4.5613, 4.2122, 11.3969)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D385F #5F542D
analogous
#2D515F #2D385F #3B2D5F
triadic
#2D385F #5F2D38 #385F2D
tetradic
#2D385F #5F2D51 #5F542D #2D5F3B
square
#2D385F #5F2D51 #5F542D #2D5F3B
split-complementary
#2D385F #5F3B2D #515F2D
monochromatic
#0A0C15 #192035 #2D385F #415089 #576AAF

Accessibility & contrast

On white

11.40
#2D385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2D385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D385F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D385F#FFFFFF#000000##FFFFFF
##2D385F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293C61
Deuteranopia (green-blind)
#24385E
Tritanopia (blue-blind)
#194047
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d385f;
/* rgb */ color: rgb(45, 56, 95);
/* oklch */ color: oklch(35.1% 0.070 270.6);
Tailwind
colors: {
  custom: {
    50: '#696e8c',
    500: '#2d385f',
    950: '#000000',
  },
}
SCSS
$custom: #2d385f;
$custom-light: #696e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d385f",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 226.8,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35071,
    "c": 0.06968,
    "h": 270.6
  },
  "luminance": 0.04212
}

Semantic roles & 50–950 ramp

primary
#2D385F
secondary
#918457
accent
#B35CCC
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2D385F

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

Preview Lab → · Contrast checker → · Palette generator →

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