#2D366F#2D366F

#2D366F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.098 H 273.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2D366F
RGBrgb(45, 54, 111)
HSLhsl(232, 42%, 31%)
HSVhsv(232, 59%, 44%)
CMYKcmyk(59.5%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.78, 14.90, -34.34)
CIE-LCHlch(24.78, 37.43, 293.45°)
OKLaboklab(35.72% 0.0062 -0.098)
OKLCHoklch(35.72% 0.098 273.6)
XYZxyz(5.2697, 4.3435, 15.5965)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D366F #6F662D
analogous
#2D576F #2D366F #452D6F
triadic
#2D366F #6F2D36 #366F2D
tetradic
#2D366F #6F2D57 #6F662D #2D6F45
square
#2D366F #6F2D57 #6F662D #2D6F45
split-complementary
#2D366F #6F452D #576F2D
monochromatic
#0A0C18 #1B2143 #2D366F #3F4B9B #5A68BC

Accessibility & contrast

On white

11.24
#2D366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D366F
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D366F#FFFFFF#000000##FFFFFF
##2D366F1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#10386E
Tritanopia (blue-blind)
#06434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d366f;
/* rgb */ color: rgb(45, 54, 111);
/* oklch */ color: oklch(35.7% 0.098 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c6c99',
    500: '#2d366f',
    950: '#000000',
  },
}
SCSS
$custom: #2d366f;
$custom-light: #6c6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2d366f",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 231.818,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35717,
    "c": 0.09825,
    "h": 273.6
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#2D366F
secondary
#A19757
accent
#C156D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2D366F

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

Preview Lab → · Contrast checker → · Palette generator →

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