#2D366C#2D366C

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

Color values

HEX#2D366C
RGBrgb(45, 54, 108)
HSLhsl(231, 41%, 30%)
HSVhsv(231, 58%, 42%)
CMYKcmyk(58.3%, 50%, 0%, 57.6%)
CIE-LABlab(24.57, 13.80, -32.74)
CIE-LCHlch(24.57, 35.53, 292.85°)
OKLaboklab(35.5% 0.0058 -0.0934)
OKLCHoklch(35.5% 0.094 273.6)
XYZxyz(5.1073, 4.2786, 14.7412)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D366C #6C632D
analogous
#2D556C #2D366C #442D6C
triadic
#2D366C #6C2D36 #366C2D
tetradic
#2D366C #6C2D55 #6C632D #2D6C44
square
#2D366C #6C2D55 #6C632D #2D6C44
split-complementary
#2D366C #6C442D #556C2D
monochromatic
#090B16 #1B2041 #2D366C #3F4C97 #5967BA

Accessibility & contrast

On white

11.32
#2D366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D366C
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D366C#FFFFFF#000000##FFFFFF
##2D366C1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3D6E
Deuteranopia (green-blind)
#14386B
Tritanopia (blue-blind)
#0B424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d366c;
/* rgb */ color: rgb(45, 54, 108);
/* oklch */ color: oklch(35.5% 0.094 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c6c96',
    500: '#2d366c',
    950: '#000000',
  },
}
SCSS
$custom: #2d366c;
$custom-light: #6c6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d366c",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 231.429,
    "s": 41.176,
    "l": 30
  },
  "oklch": {
    "l": 0.35496,
    "c": 0.09354,
    "h": 273.6
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#2D366C
secondary
#9E9457
accent
#C057D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D366C

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

Preview Lab → · Contrast checker → · Palette generator →

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