#2D366A#2D366A

#2D366A is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.090 H 273.5°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#2D366A
RGBrgb(45, 54, 106)
HSLhsl(231, 40%, 30%)
HSVhsv(231, 58%, 42%)
CMYKcmyk(57.5%, 49.1%, 0%, 58.4%)
CIE-LABlab(24.44, 13.07, -31.67)
CIE-LCHlch(24.44, 34.26, 292.42°)
OKLaboklab(35.35% 0.0055 -0.0902)
OKLCHoklch(35.35% 0.09 273.5)
XYZxyz(5.0020, 4.2365, 14.1870)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D366A #6A612D
analogous
#2D546A #2D366A #432D6A
triadic
#2D366A #6A2D36 #366A2D
tetradic
#2D366A #6A2D54 #6A612D #2D6A43
square
#2D366A #6A2D54 #6A612D #2D6A43
split-complementary
#2D366A #6A432D #546A2D
monochromatic
#090B15 #1B203F #2D366A #3F4C95 #5967B8

Accessibility & contrast

On white

11.37
#2D366A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2D366A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D366A
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D366A#FFFFFF#000000##FFFFFF
##2D366A1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6C
Deuteranopia (green-blind)
#173869
Tritanopia (blue-blind)
#0E414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d366a;
/* rgb */ color: rgb(45, 54, 106);
/* oklch */ color: oklch(35.4% 0.090 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c95',
    500: '#2d366a',
    950: '#000000',
  },
}
SCSS
$custom: #2d366a;
$custom-light: #6b6c95;
$custom-dark: #000000;
JSON
{
  "hex": "#2d366a",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 231.148,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35352,
    "c": 0.09038,
    "h": 273.5
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#2D366A
secondary
#9C9257
accent
#BE58D0
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D366A

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

Preview Lab → · Contrast checker → · Palette generator →

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