#2B396B#2B396B

#2B396B is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.088 H 269.8°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2B396B
RGBrgb(43, 57, 107)
HSLhsl(227, 43%, 29%)
HSVhsv(227, 60%, 42%)
CMYKcmyk(59.8%, 46.7%, 0%, 58%)
CIE-LABlab(25.26, 10.88, -31.00)
CIE-LCHlch(25.26, 32.86, 289.34°)
OKLaboklab(35.97% -0.0004 -0.0883)
OKLCHoklch(35.97% 0.088 269.8)
XYZxyz(5.1123, 4.5010, 14.5064)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B396B #6B5D2B
analogous
#2B596B #2B396B #3D2B6B
triadic
#2B396B #6B2B39 #396B2B
tetradic
#2B396B #6B2B59 #6B5D2B #2B6B3D
square
#2B396B #6B2B59 #6B5D2B #2B6B3D
split-complementary
#2B396B #6B3D2B #596B2B
monochromatic
#090C16 #19223F #2B396B #3D5097 #566CBB

Accessibility & contrast

On white

11.05
#2B396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2B396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B396B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B396B#FFFFFF#000000##FFFFFF
##2B396B1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233F6D
Deuteranopia (green-blind)
#1A396A
Tritanopia (blue-blind)
#03444C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b396b;
/* rgb */ color: rgb(43, 57, 107);
/* oklch */ color: oklch(36.0% 0.088 269.8);
Tailwind
colors: {
  custom: {
    50: '#6a6f96',
    500: '#2b396b',
    950: '#000000',
  },
}
SCSS
$custom: #2b396b;
$custom-light: #6a6f96;
$custom-dark: #000000;
JSON
{
  "hex": "#2b396b",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 226.875,
    "s": 42.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35966,
    "c": 0.08827,
    "h": 269.8
  },
  "luminance": 0.04501
}

Semantic roles & 50–950 ramp

primary
#2B396B
secondary
#9D8D55
accent
#B755D2
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B396B

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

Preview Lab → · Contrast checker → · Palette generator →

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