#2B3E7D#2B3E7D

#2B3E7D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.4% C 0.109 H 268.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2B3E7D
RGBrgb(43, 62, 125)
HSLhsl(226, 49%, 33%)
HSVhsv(226, 66%, 49%)
CMYKcmyk(65.6%, 50.4%, 0%, 51%)
CIE-LABlab(27.95, 14.18, -38.12)
CIE-LCHlch(27.95, 40.67, 290.40°)
OKLaboklab(38.4% -0.0032 -0.1091)
OKLCHoklch(38.4% 0.109 268.3)
XYZxyz(6.4193, 5.4389, 20.1096)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E7D #7D6A2B
analogous
#2B677D #2B3E7D #412B7D
triadic
#2B3E7D #7D2B3E #3E7D2B
tetradic
#2B3E7D #7D2B67 #7D6A2B #2B7D41
square
#2B3E7D #7D2B67 #7D6A2B #2B7D41
split-complementary
#2B3E7D #7D412B #677D2B
monochromatic
#0C1122 #1B274F #2B3E7D #3B55AB #5C74C7

Accessibility & contrast

On white

10.06
#2B3E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2B3E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E7D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E7D#FFFFFF#000000##FFFFFF
##2B3E7D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D467F
Deuteranopia (green-blind)
#0C3E7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b3e7d;
/* rgb */ color: rgb(43, 62, 125);
/* oklch */ color: oklch(38.4% 0.109 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d72a3',
    500: '#2b3e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e7d;
$custom-light: #6d72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e7d",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 226.098,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.10916,
    "h": 268.3
  },
  "luminance": 0.0544
}

Semantic roles & 50–950 ramp

primary
#2B3E7D
secondary
#AD9957
accent
#B94FD8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B3E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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