#2B396D#2B396D

#2B396D is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.1% C 0.091 H 270.0°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#2B396D
RGBrgb(43, 57, 109)
HSLhsl(227, 43%, 30%)
HSVhsv(227, 61%, 43%)
CMYKcmyk(60.6%, 47.7%, 0%, 57.3%)
CIE-LABlab(25.39, 11.62, -32.08)
CIE-LCHlch(25.39, 34.12, 289.92°)
OKLaboklab(36.11% 0 -0.0914)
OKLCHoklch(36.11% 0.091 270)
XYZxyz(5.2188, 4.5436, 15.0670)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B396D #6D5F2B
analogous
#2B5A6D #2B396D #3E2B6D
triadic
#2B396D #6D2B39 #396D2B
tetradic
#2B396D #6D2B5A #6D5F2B #2B6D3E
square
#2B396D #6D2B5A #6D5F2B #2B6D3E
split-complementary
#2B396D #6D3E2B #5A6D2B
monochromatic
#090B16 #1A2241 #2B396D #3C5099 #566CBC

Accessibility & contrast

On white

11.00
#2B396D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B396D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B396D
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B396D#FFFFFF#000000##FFFFFF
##2B396D1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213F6F
Deuteranopia (green-blind)
#18396C
Tritanopia (blue-blind)
#00454D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b396d;
/* rgb */ color: rgb(43, 57, 109);
/* oklch */ color: oklch(36.1% 0.091 270.0);
Tailwind
colors: {
  custom: {
    50: '#6b6f97',
    500: '#2b396d',
    950: '#000000',
  },
}
SCSS
$custom: #2b396d;
$custom-light: #6b6f97;
$custom-dark: #000000;
JSON
{
  "hex": "#2b396d",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 227.273,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.36107,
    "c": 0.09142,
    "h": 270
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2B396D
secondary
#9F8F55
accent
#B855D3
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2B396D

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

Preview Lab → · Contrast checker → · Palette generator →

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