#2D367D#2D367D

#2D367D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.120 H 273.6°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#2D367D
RGBrgb(45, 54, 125)
HSLhsl(233, 47%, 33%)
HSVhsv(233, 64%, 49%)
CMYKcmyk(64%, 56.8%, 0%, 51%)
CIE-LABlab(25.79, 20.07, -41.59)
CIE-LCHlch(25.79, 46.18, 295.75°)
OKLaboklab(36.81% 0.0074 -0.1194)
OKLCHoklch(36.81% 0.12 273.6)
XYZxyz(6.1018, 4.6764, 19.9791)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D367D #7D742D
analogous
#2D5E7D #2D367D #4C2D7D
triadic
#2D367D #7D2D36 #367D2D
tetradic
#2D367D #7D2D5E #7D742D #2D7D4C
square
#2D367D #7D2D5E #7D742D #2D7D4C
split-complementary
#2D367D #7D4C2D #5E7D2D
monochromatic
#0D0F23 #1D2350 #2D367D #3D49AA #5F6BC5

Accessibility & contrast

On white

10.85
#2D367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D367D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D367D#FFFFFF#000000##FFFFFF
##2D367D1.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03417F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d367d;
/* rgb */ color: rgb(45, 54, 125);
/* oklch */ color: oklch(36.8% 0.120 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f6ca3',
    500: '#2d367d',
    950: '#000000',
  },
}
SCSS
$custom: #2d367d;
$custom-light: #6f6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d367d",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 233.25,
    "s": 47.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36807,
    "c": 0.11962,
    "h": 273.6
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D367D

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

Preview Lab → · Contrast checker → · Palette generator →

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