#2B3D8B#2B3D8B

#2B3D8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.131 H 269.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2B3D8B
RGBrgb(43, 61, 139)
HSLhsl(229, 53%, 36%)
HSVhsv(229, 69%, 55%)
CMYKcmyk(69.1%, 56.1%, 0%, 45.5%)
CIE-LABlab(28.68, 20.18, -45.66)
CIE-LCHlch(28.68, 49.92, 293.84°)
OKLaboklab(39.28% -0.0009 -0.1313)
OKLCHoklch(39.28% 0.131 269.6)
XYZxyz(7.3236, 5.7145, 25.1381)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D8B #8B792B
analogous
#2B6D8B #2B3D8B #492B8B
triadic
#2B3D8B #8B2B3D #3D8B2B
tetradic
#2B3D8B #8B2B6D #8B792B #2B8B49
square
#2B3D8B #8B2B6D #8B792B #2B8B49
split-complementary
#2B3D8B #8B492B #6D8B2B
monochromatic
#0E142E #1D285C #2B3D8B #3952BA #6276CE

Accessibility & contrast

On white

9.80
#2B3D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B3D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D8B
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D8B#FFFFFF#000000##FFFFFF
##2B3D8B1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b3d8b;
/* rgb */ color: rgb(43, 61, 139);
/* oklch */ color: oklch(39.3% 0.131 269.6);
Tailwind
colors: {
  custom: {
    50: '#7072ad',
    500: '#2b3d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d8b;
$custom-light: #7072ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d8b",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 228.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39279,
    "c": 0.1313,
    "h": 269.6
  },
  "luminance": 0.05715
}

Semantic roles & 50–950 ramp

primary
#2B3D8B
secondary
#B5A45D
accent
#C14CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B3D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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