#2D368D#2D368D

#2D368D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.143 H 273.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2D368D
RGBrgb(45, 54, 141)
HSLhsl(234, 52%, 36%)
HSVhsv(234, 68%, 55%)
CMYKcmyk(68.1%, 61.7%, 0%, 44.7%)
CIE-LABlab(27.07, 25.99, -49.51)
CIE-LCHlch(27.07, 55.91, 297.70°)
OKLaboklab(38.16% 0.0076 -0.1426)
OKLCHoklch(38.16% 0.143 273.1)
XYZxyz(7.2075, 5.1187, 25.8023)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D368D #8D842D
analogous
#2D668D #2D368D #542D8D
triadic
#2D368D #8D2D36 #368D2D
tetradic
#2D368D #8D2D66 #8D842D #2D8D54
square
#2D368D #8D2D66 #8D842D #2D8D54
split-complementary
#2D368D #8D542D #668D2D
monochromatic
#0F1230 #1E245F #2D368D #3C48BB #6670CE

Accessibility & contrast

On white

10.38
#2D368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D368D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D368D#FFFFFF#000000##FFFFFF
##2D368D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d368d;
/* rgb */ color: rgb(45, 54, 141);
/* oklch */ color: oklch(38.2% 0.143 273.1);
Tailwind
colors: {
  custom: {
    50: '#726daf',
    500: '#2d368d',
    950: '#000000',
  },
}
SCSS
$custom: #2d368d;
$custom-light: #726daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d368d",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 234.375,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38161,
    "c": 0.14285,
    "h": 273.1
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#2D368D
secondary
#B5AD61
accent
#CE4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D368D

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

Preview Lab → · Contrast checker → · Palette generator →

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