#2D367C#2D367C

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

Color values

HEX#2D367C
RGBrgb(45, 54, 124)
HSLhsl(233, 47%, 33%)
HSVhsv(233, 64%, 49%)
CMYKcmyk(63.7%, 56.5%, 0%, 51.4%)
CIE-LABlab(25.72, 19.70, -41.09)
CIE-LCHlch(25.72, 45.56, 295.61°)
OKLaboklab(36.73% 0.0074 -0.1179)
OKLCHoklch(36.73% 0.118 273.6)
XYZxyz(6.0382, 4.6510, 19.6444)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D367C #7C732D
analogous
#2D5D7C #2D367C #4B2D7C
triadic
#2D367C #7C2D36 #367C2D
tetradic
#2D367C #7C2D5D #7C732D #2D7C4B
square
#2D367C #7C2D5D #7C732D #2D7C4B
split-complementary
#2D367C #7C4B2D #5D7C2D
monochromatic
#0C0F22 #1D224F #2D367C #3D4AA9 #5F6AC5

Accessibility & contrast

On white

10.88
#2D367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D367C
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D367C#FFFFFF#000000##FFFFFF
##2D367C1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05407E
Deuteranopia (green-blind)
#003A7B
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d367c;
/* rgb */ color: rgb(45, 54, 124);
/* oklch */ color: oklch(36.7% 0.118 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f6ca2',
    500: '#2d367c',
    950: '#000000',
  },
}
SCSS
$custom: #2d367c;
$custom-light: #6f6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d367c",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 233.165,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36726,
    "c": 0.11813,
    "h": 273.6
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#2D367C
secondary
#ABA25A
accent
#C751D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F

Preview Lab

Preview with #2D367C

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

Preview Lab → · Contrast checker → · Palette generator →

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