#2D366E#2D366E

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

Color values

HEX#2D366E
RGBrgb(45, 54, 110)
HSLhsl(232, 42%, 30%)
HSVhsv(232, 59%, 43%)
CMYKcmyk(59.1%, 50.9%, 0%, 56.9%)
CIE-LABlab(24.71, 14.53, -33.81)
CIE-LCHlch(24.71, 36.80, 293.26°)
OKLaboklab(35.64% 0.0061 -0.0965)
OKLCHoklch(35.64% 0.097 273.6)
XYZxyz(5.2149, 4.3216, 15.3082)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D366E #6E652D
analogous
#2D566E #2D366E #442D6E
triadic
#2D366E #6E2D36 #366E2D
tetradic
#2D366E #6E2D56 #6E652D #2D6E44
square
#2D366E #6E2D56 #6E652D #2D6E44
split-complementary
#2D366E #6E442D #566E2D
monochromatic
#090B17 #1B2143 #2D366E #3F4B99 #5A67BB

Accessibility & contrast

On white

11.26
#2D366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D366E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D366E#FFFFFF#000000##FFFFFF
##2D366E1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E70
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#07424C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d366e;
/* rgb */ color: rgb(45, 54, 110);
/* oklch */ color: oklch(35.6% 0.097 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c6c98',
    500: '#2d366e',
    950: '#000000',
  },
}
SCSS
$custom: #2d366e;
$custom-light: #6c6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#2d366e",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 231.692,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.09668,
    "h": 273.6
  },
  "luminance": 0.04322
}

Semantic roles & 50–950 ramp

primary
#2D366E
secondary
#A09657
accent
#C156D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D366E

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

Preview Lab → · Contrast checker → · Palette generator →

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