#2D367F#2D367F

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

Color values

HEX#2D367F
RGBrgb(45, 54, 127)
HSLhsl(233, 48%, 34%)
HSVhsv(233, 65%, 50%)
CMYKcmyk(64.6%, 57.5%, 0%, 50.2%)
CIE-LABlab(25.95, 20.81, -42.60)
CIE-LCHlch(25.95, 47.41, 296.03°)
OKLaboklab(36.97% 0.0075 -0.1224)
OKLCHoklch(36.97% 0.123 273.5)
XYZxyz(6.2309, 4.7280, 20.6588)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D367F #7F762D
analogous
#2D5F7F #2D367F #4D2D7F
triadic
#2D367F #7F2D36 #367F2D
tetradic
#2D367F #7F2D5F #7F762D #2D7F4D
square
#2D367F #7F2D5F #7F762D #2D7F4D
split-complementary
#2D367F #7F4D2D #5F7F2D
monochromatic
#0D1025 #1D2352 #2D367F #3D49AC #606BC7

Accessibility & contrast

On white

10.79
#2D367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D367F
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D367F#FFFFFF#000000##FFFFFF
##2D367F1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d367f;
/* rgb */ color: rgb(45, 54, 127);
/* oklch */ color: oklch(37.0% 0.123 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ca5',
    500: '#2d367f',
    950: '#000000',
  },
}
SCSS
$custom: #2d367f;
$custom-light: #6f6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d367f",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 233.415,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3697,
    "c": 0.12259,
    "h": 273.5
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D367F

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

Preview Lab → · Contrast checker → · Palette generator →

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