#2B3D9A#2B3D9A

#2B3D9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.153 H 269.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2B3D9A
RGBrgb(43, 61, 154)
HSLhsl(230, 56%, 39%)
HSVhsv(230, 72%, 60%)
CMYKcmyk(72.1%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.87, 25.84, -52.92)
CIE-LCHlch(29.87, 58.90, 296.02°)
OKLaboklab(40.54% -0.0004 -0.1527)
OKLCHoklch(40.54% 0.153 269.8)
XYZxyz(8.4957, 6.1833, 31.3113)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3D9A #9A882B
analogous
#2B749A #2B3D9A #502B9A
triadic
#2B3D9A #9A2B3D #3D9A2B
tetradic
#2B3D9A #9A2B74 #9A882B #2B9A50
square
#2B3D9A #9A2B74 #9A882B #2B9A50
split-complementary
#2B3D9A #9A502B #749A2B
monochromatic
#10173A #1E2A6A #2B3D9A #3A51C8 #6A7BD5

Accessibility & contrast

On white

9.39
#2B3D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2B3D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3D9A
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3D9A#FFFFFF#000000##FFFFFF
##2B3D9A1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b3d9a;
/* rgb */ color: rgb(43, 61, 154);
/* oklch */ color: oklch(40.5% 0.153 269.8);
Tailwind
colors: {
  custom: {
    50: '#7472b9',
    500: '#2b3d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b3d9a;
$custom-light: #7472b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3d9a",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 230.27,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40543,
    "c": 0.15266,
    "h": 269.8
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#2B3D9A
secondary
#BCAE65
accent
#C748E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B3D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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