#2D386B#2D386B

#2D386B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.089 H 272.1°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D386B
RGBrgb(45, 56, 107)
HSLhsl(229, 41%, 30%)
HSVhsv(229, 58%, 42%)
CMYKcmyk(57.9%, 47.7%, 0%, 58%)
CIE-LABlab(25.10, 12.04, -31.26)
CIE-LCHlch(25.10, 33.50, 291.07°)
OKLaboklab(35.88% 0.0032 -0.089)
OKLCHoklch(35.88% 0.089 272.1)
XYZxyz(5.1493, 4.4474, 14.4942)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D386B #6B602D
analogous
#2D576B #2D386B #412D6B
triadic
#2D386B #6B2D38 #386B2D
tetradic
#2D386B #6B2D57 #6B602D #2D6B41
square
#2D386B #6B2D57 #6B602D #2D6B41
split-complementary
#2D386B #6B412D #576B2D
monochromatic
#090B16 #1B2140 #2D386B #3F4F96 #596AB9

Accessibility & contrast

On white

11.11
#2D386B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D386B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D386B
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D386B#FFFFFF#000000##FFFFFF
##2D386B1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#1A396A
Tritanopia (blue-blind)
#0C434C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d386b;
/* rgb */ color: rgb(45, 56, 107);
/* oklch */ color: oklch(35.9% 0.089 272.1);
Tailwind
colors: {
  custom: {
    50: '#6b6e96',
    500: '#2d386b',
    950: '#000000',
  },
}
SCSS
$custom: #2d386b;
$custom-light: #6b6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d386b",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 107
  },
  "hsl": {
    "h": 229.355,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35876,
    "c": 0.08904,
    "h": 272.1
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#2D386B
secondary
#9D9057
accent
#BB57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D386B

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

Preview Lab → · Contrast checker → · Palette generator →

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