#2B376E#2B376E

#2B376E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.096 H 271.5°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2B376E
RGBrgb(43, 55, 110)
HSLhsl(229, 44%, 30%)
HSVhsv(229, 61%, 43%)
CMYKcmyk(60.9%, 50%, 0%, 56.9%)
CIE-LABlab(24.86, 13.39, -33.57)
CIE-LCHlch(24.86, 36.14, 291.74°)
OKLaboklab(35.73% 0.0026 -0.0958)
OKLCHoklch(35.73% 0.096 271.5)
XYZxyz(5.1760, 4.3714, 15.3198)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B376E #6E622B
analogous
#2B586E #2B376E #412B6E
triadic
#2B376E #6E2B37 #376E2B
tetradic
#2B376E #6E2B58 #6E622B #2B6E41
square
#2B376E #6E2B58 #6E622B #2B6E41
split-complementary
#2B376E #6E412B #586E2B
monochromatic
#090B16 #1A2142 #2B376E #3C4D9A #5669BD

Accessibility & contrast

On white

11.20
#2B376E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B376E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B376E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B376E#FFFFFF#000000##FFFFFF
##2B376E1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E70
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b376e;
/* rgb */ color: rgb(43, 55, 110);
/* oklch */ color: oklch(35.7% 0.096 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b6d98',
    500: '#2b376e',
    950: '#000000',
  },
}
SCSS
$custom: #2b376e;
$custom-light: #6b6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#2b376e",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 110
  },
  "hsl": {
    "h": 229.254,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.35725,
    "c": 0.09585,
    "h": 271.5
  },
  "luminance": 0.04372
}

Semantic roles & 50–950 ramp

primary
#2B376E
secondary
#A09255
accent
#BD54D4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B376E

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

Preview Lab → · Contrast checker → · Palette generator →

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