#2D368A#2D368A

#2D368A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.139 H 273.2°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2D368A
RGBrgb(45, 54, 138)
HSLhsl(234, 51%, 36%)
HSVhsv(234, 67%, 54%)
CMYKcmyk(67.4%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.82, 24.88, -48.05)
CIE-LCHlch(26.82, 54.11, 297.37°)
OKLaboklab(37.9% 0.0077 -0.1384)
OKLCHoklch(37.9% 0.139 273.2)
XYZxyz(6.9873, 5.0306, 24.6426)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D368A #8A812D
analogous
#2D648A #2D368A #522D8A
triadic
#2D368A #8A2D36 #368A2D
tetradic
#2D368A #8A2D64 #8A812D #2D8A52
square
#2D368A #8A2D64 #8A812D #2D8A52
split-complementary
#2D368A #8A522D #648A2D
monochromatic
#0F122E #1E245C #2D368A #3C48B8 #656FCD

Accessibility & contrast

On white

10.47
#2D368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D368A
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D368A#FFFFFF#000000##FFFFFF
##2D368A1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d368a;
/* rgb */ color: rgb(45, 54, 138);
/* oklch */ color: oklch(37.9% 0.139 273.2);
Tailwind
colors: {
  custom: {
    50: '#726dad',
    500: '#2d368a',
    950: '#000000',
  },
}
SCSS
$custom: #2d368a;
$custom-light: #726dad;
$custom-dark: #000000;
JSON
{
  "hex": "#2d368a",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 234.194,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37899,
    "c": 0.13859,
    "h": 273.2
  },
  "luminance": 0.05031
}

Semantic roles & 50–950 ramp

primary
#2D368A
secondary
#B3AB60
accent
#CD4DDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D368A

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

Preview Lab → · Contrast checker → · Palette generator →

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