#2B396F#2B396F

#2B396F is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.3% C 0.095 H 270.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#2B396F
RGBrgb(43, 57, 111)
HSLhsl(228, 44%, 30%)
HSVhsv(228, 61%, 44%)
CMYKcmyk(61.3%, 48.6%, 0%, 56.5%)
CIE-LABlab(25.52, 12.37, -33.15)
CIE-LCHlch(25.52, 35.38, 290.46°)
OKLaboklab(36.25% 0.0003 -0.0946)
OKLCHoklch(36.25% 0.095 270.2)
XYZxyz(5.3277, 4.5871, 15.6405)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B396F #6F612B
analogous
#2B5B6F #2B396F #3F2B6F
triadic
#2B396F #6F2B39 #396F2B
tetradic
#2B396F #6F2B5B #6F612B #2B6F3F
square
#2B396F #6F2B5B #6F612B #2B6F3F
split-complementary
#2B396F #6F3F2B #5B6F2B
monochromatic
#090C17 #1A2243 #2B396F #3C509B #576CBE

Accessibility & contrast

On white

10.95
#2B396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2B396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B396F
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B396F#FFFFFF#000000##FFFFFF
##2B396F1.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#163A6E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b396f;
/* rgb */ color: rgb(43, 57, 111);
/* oklch */ color: oklch(36.3% 0.095 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b6f99',
    500: '#2b396f',
    950: '#000000',
  },
}
SCSS
$custom: #2b396f;
$custom-light: #6b6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2b396f",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 227.647,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3625,
    "c": 0.09456,
    "h": 270.2
  },
  "luminance": 0.04588
}

Semantic roles & 50–950 ramp

primary
#2B396F
secondary
#A19155
accent
#BA54D4
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2B396F

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

Preview Lab → · Contrast checker → · Palette generator →

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