#2B3D9D#2B3D9D

#2B3D9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.157 H 269.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#2B3D9D
RGBrgb(43, 61, 157)
HSLhsl(231, 57%, 39%)
HSVhsv(231, 73%, 62%)
CMYKcmyk(72.6%, 61.1%, 0%, 38.4%)
CIE-LABlab(30.12, 26.97, -54.34)
CIE-LCHlch(30.12, 60.66, 296.39°)
OKLaboklab(40.81% -0.0004 -0.1568)
OKLCHoklch(40.81% 0.157 269.8)
XYZxyz(8.7487, 6.2845, 32.6437)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D9D #9D8B2B
analogous
#2B769D #2B3D9D #522B9D
triadic
#2B3D9D #9D2B3D #3D9D2B
tetradic
#2B3D9D #9D2B76 #9D8B2B #2B9D52
square
#2B3D9D #9D2B76 #9D8B2B #2B9D52
split-complementary
#2B3D9D #9D522B #769D2B
monochromatic
#11183D #1E2A6D #2B3D9D #3C52CA #6C7DD7

Accessibility & contrast

On white

9.30
#2B3D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B3D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D9D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D9D#FFFFFF#000000##FFFFFF
##2B3D9D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3d9d;
/* rgb */ color: rgb(43, 61, 157);
/* oklch */ color: oklch(40.8% 0.157 269.8);
Tailwind
colors: {
  custom: {
    50: '#7572bb',
    500: '#2b3d9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d9d;
$custom-light: #7572bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d9d",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 230.526,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.15683,
    "h": 269.8
  },
  "luminance": 0.06285
}

Semantic roles & 50–950 ramp

primary
#2B3D9D
secondary
#BDB066
accent
#C848E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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