#2D366B#2D366B

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

Color values

HEX#2D366B
RGBrgb(45, 54, 107)
HSLhsl(231, 41%, 30%)
HSVhsv(231, 58%, 42%)
CMYKcmyk(57.9%, 49.5%, 0%, 58%)
CIE-LABlab(24.50, 13.43, -32.21)
CIE-LCHlch(24.50, 34.90, 292.64°)
OKLaboklab(35.42% 0.0057 -0.0918)
OKLCHoklch(35.42% 0.092 273.5)
XYZxyz(5.0543, 4.2574, 14.4625)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D366B #6B622D
analogous
#2D556B #2D366B #432D6B
triadic
#2D366B #6B2D36 #366B2D
tetradic
#2D366B #6B2D55 #6B622D #2D6B43
square
#2D366B #6B2D55 #6B622D #2D6B43
split-complementary
#2D366B #6B432D #556B2D
monochromatic
#090B16 #1B2040 #2D366B #3F4C96 #5967B9

Accessibility & contrast

On white

11.34
#2D366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D366B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D366B#FFFFFF#000000##FFFFFF
##2D366B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3D6D
Deuteranopia (green-blind)
#16386A
Tritanopia (blue-blind)
#0C424B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d366b;
/* rgb */ color: rgb(45, 54, 107);
/* oklch */ color: oklch(35.4% 0.092 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b6c96',
    500: '#2d366b',
    950: '#000000',
  },
}
SCSS
$custom: #2d366b;
$custom-light: #6b6c96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d366b",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 231.29,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35424,
    "c": 0.09196,
    "h": 273.5
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#2D366B
secondary
#9D9357
accent
#BF57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D366B

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

Preview Lab → · Contrast checker → · Palette generator →

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