#2D368C#2D368C

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

Color values

HEX#2D368C
RGBrgb(45, 54, 140)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 68%, 55%)
CMYKcmyk(67.9%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.99, 25.62, -49.02)
CIE-LCHlch(26.99, 55.31, 297.59°)
OKLaboklab(38.07% 0.0077 -0.1412)
OKLCHoklch(38.07% 0.141 273.1)
XYZxyz(7.1334, 5.0890, 25.4122)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D368C #8C832D
analogous
#2D668C #2D368C #542D8C
triadic
#2D368C #8C2D36 #368C2D
tetradic
#2D368C #8C2D66 #8C832D #2D8C54
square
#2D368C #8C2D66 #8C832D #2D8C54
split-complementary
#2D368C #8C542D #668C2D
monochromatic
#0F122F #1E245E #2D368C #3C48BA #6670CE

Accessibility & contrast

On white

10.41
#2D368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D368C
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D368C#FFFFFF#000000##FFFFFF
##2D368C1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d368c;
/* rgb */ color: rgb(45, 54, 140);
/* oklch */ color: oklch(38.1% 0.141 273.1);
Tailwind
colors: {
  custom: {
    50: '#726dae',
    500: '#2d368c',
    950: '#000000',
  },
}
SCSS
$custom: #2d368c;
$custom-light: #726dae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d368c",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 234.316,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38073,
    "c": 0.14144,
    "h": 273.1
  },
  "luminance": 0.0509
}

Semantic roles & 50–950 ramp

primary
#2D368C
secondary
#B4AC60
accent
#CD4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D368C

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

Preview Lab → · Contrast checker → · Palette generator →

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