#2B3D8D#2B3D8D

#2B3D8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.134 H 269.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2B3D8D
RGBrgb(43, 61, 141)
HSLhsl(229, 53%, 36%)
HSVhsv(229, 70%, 55%)
CMYKcmyk(69.5%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.83, 20.93, -46.64)
CIE-LCHlch(28.83, 51.13, 294.17°)
OKLaboklab(39.44% -0.0008 -0.1342)
OKLCHoklch(39.44% 0.134 269.7)
XYZxyz(7.4711, 5.7735, 25.9148)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D8D #8D7B2B
analogous
#2B6E8D #2B3D8D #4A2B8D
triadic
#2B3D8D #8D2B3D #3D8D2B
tetradic
#2B3D8D #8D2B6E #8D7B2B #2B8D4A
square
#2B3D8D #8D2B6E #8D7B2B #2B8D4A
split-complementary
#2B3D8D #8D4A2B #6E8D2B
monochromatic
#0E142F #1D295E #2B3D8D #3951BC #6377CF

Accessibility & contrast

On white

9.75
#2B3D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B3D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D8D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D8D#FFFFFF#000000##FFFFFF
##2B3D8D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3d8d;
/* rgb */ color: rgb(43, 61, 141);
/* oklch */ color: oklch(39.4% 0.134 269.7);
Tailwind
colors: {
  custom: {
    50: '#7172af',
    500: '#2b3d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d8d;
$custom-light: #7172af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d8d",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 228.98,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39443,
    "c": 0.13421,
    "h": 269.7
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#2B3D8D
secondary
#B6A65E
accent
#C24BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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