#2B398B#2B398B

#2B398B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.137 H 271.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2B398B
RGBrgb(43, 57, 139)
HSLhsl(231, 53%, 36%)
HSVhsv(231, 69%, 55%)
CMYKcmyk(69.1%, 59%, 0%, 45.5%)
CIE-LABlab(27.58, 22.90, -47.44)
CIE-LCHlch(27.58, 52.68, 295.77°)
OKLaboklab(38.46% 0.0027 -0.1366)
OKLCHoklch(38.46% 0.137 271.1)
XYZxyz(7.1180, 5.3033, 25.0696)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B398B #8B7D2B
analogous
#2B698B #2B398B #4D2B8B
triadic
#2B398B #8B2B39 #398B2B
tetradic
#2B398B #8B2B69 #8B7D2B #2B8B4D
square
#2B398B #8B2B69 #8B7D2B #2B8B4D
split-complementary
#2B398B #8B4D2B #698B2B
monochromatic
#0E132E #1D265C #2B398B #394CBA #6272CE

Accessibility & contrast

On white

10.19
#2B398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B398B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B398B
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B398B#FFFFFF#000000##FFFFFF
##2B398B1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b398b;
/* rgb */ color: rgb(43, 57, 139);
/* oklch */ color: oklch(38.5% 0.137 271.1);
Tailwind
colors: {
  custom: {
    50: '#716fae',
    500: '#2b398b',
    950: '#000000',
  },
}
SCSS
$custom: #2b398b;
$custom-light: #716fae;
$custom-dark: #000000;
JSON
{
  "hex": "#2b398b",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 231.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.13663,
    "h": 271.1
  },
  "luminance": 0.05304
}

Semantic roles & 50–950 ramp

primary
#2B398B
secondary
#B5A85D
accent
#C74CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2B398B

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

Preview Lab → · Contrast checker → · Palette generator →

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