#2B3E9D#2B3E9D

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

Color values

HEX#2B3E9D
RGBrgb(43, 62, 157)
HSLhsl(230, 57%, 39%)
HSVhsv(230, 73%, 62%)
CMYKcmyk(72.6%, 60.5%, 0%, 38.4%)
CIE-LABlab(30.38, 26.30, -53.91)
CIE-LCHlch(30.38, 59.99, 296.00°)
OKLaboklab(41% -0.0012 -0.1556)
OKLCHoklch(41% 0.156 269.6)
XYZxyz(8.8026, 6.3923, 32.6617)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3E9D #9D8A2B
analogous
#2B779D #2B3E9D #512B9D
triadic
#2B3E9D #9D2B3E #3E9D2B
tetradic
#2B3E9D #9D2B77 #9D8A2B #2B9D51
square
#2B3E9D #9D2B77 #9D8A2B #2B9D51
split-complementary
#2B3E9D #9D512B #779D2B
monochromatic
#11183D #1E2B6D #2B3E9D #3C53CA #6C7ED7

Accessibility & contrast

On white

9.22
#2B3E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B3E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3E9D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3E9D#FFFFFF#000000##FFFFFF
##2B3E9D1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b3e9d;
/* rgb */ color: rgb(43, 62, 157);
/* oklch */ color: oklch(41.0% 0.156 269.6);
Tailwind
colors: {
  custom: {
    50: '#7473bb',
    500: '#2b3e9d',
    950: '#000000',
  },
}
SCSS
$custom: #2b3e9d;
$custom-light: #7473bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3e9d",
  "rgb": {
    "r": 43,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 230,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41,
    "c": 0.15556,
    "h": 269.6
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#2B3E9D
secondary
#BDAF66
accent
#C748E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #2B3E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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