#2D386F#2D386F

#2D386F is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.2% C 0.095 H 272.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2D386F
RGBrgb(45, 56, 111)
HSLhsl(230, 42%, 31%)
HSVhsv(230, 59%, 44%)
CMYKcmyk(59.5%, 49.5%, 0%, 56.5%)
CIE-LABlab(25.36, 13.51, -33.40)
CIE-LCHlch(25.36, 36.03, 292.02°)
OKLaboklab(36.16% 0.0038 -0.0953)
OKLCHoklch(36.16% 0.095 272.3)
XYZxyz(5.3647, 4.5335, 15.6282)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D386F #6F642D
analogous
#2D596F #2D386F #432D6F
triadic
#2D386F #6F2D38 #386F2D
tetradic
#2D386F #6F2D59 #6F642D #2D6F43
square
#2D386F #6F2D59 #6F642D #2D6F43
split-complementary
#2D386F #6F432D #596F2D
monochromatic
#0A0C18 #1B2243 #2D386F #3F4E9B #5A6BBC

Accessibility & contrast

On white

11.01
#2D386F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D386F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D386F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D386F#FFFFFF#000000##FFFFFF
##2D386F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#15396E
Tritanopia (blue-blind)
#05444E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d386f;
/* rgb */ color: rgb(45, 56, 111);
/* oklch */ color: oklch(36.2% 0.095 272.3);
Tailwind
colors: {
  custom: {
    50: '#6c6e99',
    500: '#2d386f',
    950: '#000000',
  },
}
SCSS
$custom: #2d386f;
$custom-light: #6c6e99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d386f",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 230,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.36162,
    "c": 0.09535,
    "h": 272.3
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#2D386F
secondary
#A19457
accent
#BD56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D386F

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

Preview Lab → · Contrast checker → · Palette generator →

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