#2B405E#2B405E

#2B405E is a dark, muted blue. Relative luminance 0.050; OKLCH L 36.8% C 0.059 H 257.3°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#2B405E
RGBrgb(43, 64, 94)
HSLhsl(215, 37%, 27%)
HSVhsv(215, 54%, 37%)
CMYKcmyk(54.3%, 31.9%, 0%, 63.1%)
CIE-LABlab(26.70, 1.39, -20.35)
CIE-LCHlch(26.70, 20.40, 273.91°)
OKLaboklab(36.83% -0.0128 -0.0571)
OKLCHoklch(36.83% 0.059 257.3)
XYZxyz(4.8494, 4.9882, 11.2948)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B405E #5E492B
analogous
#2B5A5E #2B405E #302B5E
triadic
#2B405E #5E2B40 #405E2B
tetradic
#2B405E #5E2B5A #5E492B #2B5E30
square
#2B405E #5E2B5A #5E492B #2B5E30
split-complementary
#2B405E #5E302B #5A5E2B
monochromatic
#0A0E15 #182334 #2B405E #3E5D88 #5379B0

Accessibility & contrast

On white

10.51
#2B405E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2B405E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B405E
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B405E#FFFFFF#000000##FFFFFF
##2B405E1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34425F
Deuteranopia (green-blind)
#2E3D5D
Tritanopia (blue-blind)
#13474B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b405e;
/* rgb */ color: rgb(43, 64, 94);
/* oklch */ color: oklch(36.8% 0.059 257.3);
Tailwind
colors: {
  custom: {
    50: '#68748c',
    500: '#2b405e',
    950: '#000000',
  },
}
SCSS
$custom: #2b405e;
$custom-light: #68748c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b405e",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 215.294,
    "s": 37.226,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36834,
    "c": 0.05855,
    "h": 257.3
  },
  "luminance": 0.04989
}

Semantic roles & 50–950 ramp

primary
#2B405E
secondary
#907855
accent
#9E5BCD
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #2B405E

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

Preview Lab → · Contrast checker → · Palette generator →

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