#2D367B#2D367B

#2D367B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.117 H 273.6°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2D367B
RGBrgb(45, 54, 123)
HSLhsl(233, 46%, 33%)
HSVhsv(233, 63%, 48%)
CMYKcmyk(63.4%, 56.1%, 0%, 51.8%)
CIE-LABlab(25.64, 19.33, -40.58)
CIE-LCHlch(25.64, 44.94, 295.47°)
OKLaboklab(36.65% 0.0073 -0.1164)
OKLCHoklch(36.65% 0.117 273.6)
XYZxyz(5.9753, 4.6258, 19.3130)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D367B #7B722D
analogous
#2D5D7B #2D367B #4B2D7B
triadic
#2D367B #7B2D36 #367B2D
tetradic
#2D367B #7B2D5D #7B722D #2D7B4B
square
#2D367B #7B2D5D #7B722D #2D7B4B
split-complementary
#2D367B #7B4B2D #5D7B2D
monochromatic
#0C0F21 #1D224E #2D367B #3D4AA8 #5E6AC4

Accessibility & contrast

On white

10.91
#2D367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2D367B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D367B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D367B#FFFFFF#000000##FFFFFF
##2D367B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07407D
Deuteranopia (green-blind)
#00397A
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d367b;
/* rgb */ color: rgb(45, 54, 123);
/* oklch */ color: oklch(36.6% 0.117 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e6ca2',
    500: '#2d367b',
    950: '#000000',
  },
}
SCSS
$custom: #2d367b;
$custom-light: #6e6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d367b",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 233.077,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36646,
    "c": 0.11663,
    "h": 273.6
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#2D367B
secondary
#ABA159
accent
#C752D6
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D367B

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

Preview Lab → · Contrast checker → · Palette generator →

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