#2B398E#2B398E

#2B398E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.141 H 271.1°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2B398E
RGBrgb(43, 57, 142)
HSLhsl(232, 54%, 36%)
HSVhsv(232, 70%, 56%)
CMYKcmyk(69.7%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.82, 24.03, -48.90)
CIE-LCHlch(27.82, 54.49, 296.17°)
OKLaboklab(38.71% 0.0028 -0.1409)
OKLCHoklch(38.71% 0.141 271.1)
XYZxyz(7.3402, 5.3921, 26.2399)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B398E #8E802B
analogous
#2B6B8E #2B398E #4F2B8E
triadic
#2B398E #8E2B39 #398E2B
tetradic
#2B398E #8E2B6B #8E802B #2B8E4F
square
#2B398E #8E2B6B #8E802B #2B8E4F
split-complementary
#2B398E #8E4F2B #6B8E2B
monochromatic
#0F1330 #1D265F #2B398E #394CBD #6373D0

Accessibility & contrast

On white

10.10
#2B398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2B398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B398E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B398E#FFFFFF#000000##FFFFFF
##2B398E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b398e;
/* rgb */ color: rgb(43, 57, 142);
/* oklch */ color: oklch(38.7% 0.141 271.1);
Tailwind
colors: {
  custom: {
    50: '#716fb0',
    500: '#2b398e',
    950: '#000000',
  },
}
SCSS
$custom: #2b398e;
$custom-light: #716fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b398e",
  "rgb": {
    "r": 43,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 231.515,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38713,
    "c": 0.14092,
    "h": 271.1
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#2B398E
secondary
#B6AA5F
accent
#C84BDD
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2B398E

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

Preview Lab → · Contrast checker → · Palette generator →

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