#2D367A#2D367A

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

Color values

HEX#2D367A
RGBrgb(45, 54, 122)
HSLhsl(233, 46%, 33%)
HSVhsv(233, 63%, 48%)
CMYKcmyk(63.1%, 55.7%, 0%, 52.2%)
CIE-LABlab(25.57, 18.96, -40.07)
CIE-LCHlch(25.57, 44.33, 295.32°)
OKLaboklab(36.57% 0.0073 -0.1149)
OKLCHoklch(36.57% 0.115 273.6)
XYZxyz(5.9131, 4.6009, 18.9850)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D367A #7A712D
analogous
#2D5C7A #2D367A #4A2D7A
triadic
#2D367A #7A2D36 #367A2D
tetradic
#2D367A #7A2D5C #7A712D #2D7A4A
square
#2D367A #7A2D5C #7A712D #2D7A4A
split-complementary
#2D367A #7A4A2D #5C7A2D
monochromatic
#0C0E21 #1D224D #2D367A #3D4AA7 #5E6AC4

Accessibility & contrast

On white

10.94
#2D367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D367A
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D367A#FFFFFF#000000##FFFFFF
##2D367A1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d367a;
/* rgb */ color: rgb(45, 54, 122);
/* oklch */ color: oklch(36.6% 0.115 273.6);
Tailwind
colors: {
  custom: {
    50: '#6e6ca1',
    500: '#2d367a',
    950: '#000000',
  },
}
SCSS
$custom: #2d367a;
$custom-light: #6e6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d367a",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 232.987,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36566,
    "c": 0.11512,
    "h": 273.6
  },
  "luminance": 0.04601
}

Semantic roles & 50–950 ramp

primary
#2D367A
secondary
#AAA059
accent
#C652D6
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2D367A

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

Preview Lab → · Contrast checker → · Palette generator →

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