#2B37AB#2B37AB

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

Color values

HEX#2B37AB
RGBrgb(43, 55, 171)
HSLhsl(234, 60%, 42%)
HSVhsv(234, 75%, 67%)
CMYKcmyk(74.9%, 67.8%, 0%, 32.9%)
CIE-LABlab(29.88, 36.01, -63.19)
CIE-LCHlch(29.88, 72.73, 299.68°)
OKLaboklab(41.01% 0.0029 -0.1828)
OKLCHoklch(41.01% 0.183 270.9)
XYZxyz(9.7106, 6.1852, 39.2023)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37AB #AB9F2B
analogous
#2B77AB #2B37AB #5F2BAB
triadic
#2B37AB #AB2B37 #37AB2B
tetradic
#2B37AB #AB2B77 #AB9F2B #2BAB5F
square
#2B37AB #AB2B77 #AB9F2B #2BAB5F
split-complementary
#2B37AB #AB5F2B #77AB2B
monochromatic
#121849 #1F277A #2B37AB #4351D0 #747EDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B37AB#FFFFFF#000000##FFFFFF
##2B37AB1.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)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b37ab;
/* rgb */ color: rgb(43, 55, 171);
/* oklch */ color: oklch(41.0% 0.183 270.9);
Tailwind
colors: {
  custom: {
    50: '#786ec5',
    500: '#2b37ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b37ab;
$custom-light: #786ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37ab",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 234.375,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41009,
    "c": 0.1828,
    "h": 270.9
  },
  "luminance": 0.06186
}

Semantic roles & 50–950 ramp

primary
#2B37AB
secondary
#C4BC6E
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B37AB

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

Preview Lab → · Contrast checker → · Palette generator →

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