#2B3D7D#2B3D7D

#2B3D7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.2% C 0.111 H 268.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#2B3D7D
RGBrgb(43, 61, 125)
HSLhsl(227, 49%, 33%)
HSVhsv(227, 66%, 49%)
CMYKcmyk(65.6%, 51.2%, 0%, 51%)
CIE-LABlab(27.66, 14.87, -38.59)
CIE-LCHlch(27.66, 41.35, 291.07°)
OKLaboklab(38.18% -0.0022 -0.1105)
OKLCHoklch(38.18% 0.111 268.9)
XYZxyz(6.3654, 5.3312, 20.0916)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D7D #7D6B2B
analogous
#2B667D #2B3D7D #422B7D
triadic
#2B3D7D #7D2B3D #3D7D2B
tetradic
#2B3D7D #7D2B66 #7D6B2B #2B7D42
square
#2B3D7D #7D2B66 #7D6B2B #2B7D42
split-complementary
#2B3D7D #7D422B #667D2B
monochromatic
#0C1122 #1B274F #2B3D7D #3B53AB #5C73C7

Accessibility & contrast

On white

10.16
#2B3D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2B3D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D7D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D7D#FFFFFF#000000##FFFFFF
##2B3D7D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#083E7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b3d7d;
/* rgb */ color: rgb(43, 61, 125);
/* oklch */ color: oklch(38.2% 0.111 268.9);
Tailwind
colors: {
  custom: {
    50: '#6d72a3',
    500: '#2b3d7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d7d;
$custom-light: #6d72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d7d",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 226.829,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38181,
    "c": 0.11053,
    "h": 268.9
  },
  "luminance": 0.05332
}

Semantic roles & 50–950 ramp

primary
#2B3D7D
secondary
#AD9A57
accent
#BA4FD8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #2B3D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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