#2B3D9F#2B3D9F

#2B3D9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.160 H 269.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2B3D9F
RGBrgb(43, 61, 159)
HSLhsl(231, 57%, 40%)
HSVhsv(231, 73%, 62%)
CMYKcmyk(73%, 61.6%, 0%, 37.6%)
CIE-LABlab(30.29, 27.71, -55.28)
CIE-LCHlch(30.29, 61.84, 296.63°)
OKLaboklab(40.98% -0.0004 -0.1596)
OKLCHoklch(40.98% 0.16 269.8)
XYZxyz(8.9209, 6.3534, 33.5503)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D9F #9F8D2B
analogous
#2B779F #2B3D9F #532B9F
triadic
#2B3D9F #9F2B3D #3D9F2B
tetradic
#2B3D9F #9F2B77 #9F8D2B #2B9F53
square
#2B3D9F #9F2B77 #9F8D2B #2B9F53
split-complementary
#2B3D9F #9F532B #779F2B
monochromatic
#11183F #1E2B6F #2B3D9F #3D53CA #6D7DD7

Accessibility & contrast

On white

9.25
#2B3D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2B3D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D9F
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D9F#FFFFFF#000000##FFFFFF
##2B3D9F1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b3d9f;
/* rgb */ color: rgb(43, 61, 159);
/* oklch */ color: oklch(41.0% 0.160 269.8);
Tailwind
colors: {
  custom: {
    50: '#7572bc',
    500: '#2b3d9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d9f;
$custom-light: #7572bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d9f",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 159
  },
  "hsl": {
    "h": 230.69,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40982,
    "c": 0.15958,
    "h": 269.8
  },
  "luminance": 0.06354
}

Semantic roles & 50–950 ramp

primary
#2B3D9F
secondary
#BEB167
accent
#C947E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2B3D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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