#2D367E#2D367E

#2D367E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.121 H 273.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2D367E
RGBrgb(45, 54, 126)
HSLhsl(233, 47%, 34%)
HSVhsv(233, 64%, 49%)
CMYKcmyk(64.3%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.87, 20.44, -42.10)
CIE-LCHlch(25.87, 46.80, 295.89°)
OKLaboklab(36.89% 0.0075 -0.1209)
OKLCHoklch(36.89% 0.121 273.5)
XYZxyz(6.1660, 4.7021, 20.3173)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D367E #7E752D
analogous
#2D5E7E #2D367E #4C2D7E
triadic
#2D367E #7E2D36 #367E2D
tetradic
#2D367E #7E2D5E #7E752D #2D7E4C
square
#2D367E #7E2D5E #7E752D #2D7E4C
split-complementary
#2D367E #7E4C2D #5E7E2D
monochromatic
#0D0F24 #1D2351 #2D367E #3D49AB #5F6BC6

Accessibility & contrast

On white

10.82
#2D367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D367E
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D367E#FFFFFF#000000##FFFFFF
##2D367E1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d367e;
/* rgb */ color: rgb(45, 54, 126);
/* oklch */ color: oklch(36.9% 0.121 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ca4',
    500: '#2d367e',
    950: '#000000',
  },
}
SCSS
$custom: #2d367e;
$custom-light: #6f6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d367e",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 233.333,
    "s": 47.368,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36888,
    "c": 0.12111,
    "h": 273.5
  },
  "luminance": 0.04703
}

Semantic roles & 50–950 ramp

primary
#2D367E
secondary
#ACA35A
accent
#C851D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D367E

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

Preview Lab → · Contrast checker → · Palette generator →

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