#2B37A8#2B37A8

#2B37A8 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.179 H 271.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#2B37A8
RGBrgb(43, 55, 168)
HSLhsl(234, 59%, 41%)
HSVhsv(234, 74%, 66%)
CMYKcmyk(74.4%, 67.3%, 0%, 34.1%)
CIE-LABlab(29.59, 34.93, -61.85)
CIE-LCHlch(29.59, 71.03, 299.46°)
OKLaboklab(40.72% 0.0032 -0.1789)
OKLCHoklch(40.72% 0.179 271)
XYZxyz(9.4279, 6.0721, 37.7134)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B37A8 #A89C2B
analogous
#2B76A8 #2B37A8 #5E2BA8
triadic
#2B37A8 #A82B37 #37A82B
tetradic
#2B37A8 #A82B76 #A89C2B #2BA85E
square
#2B37A8 #A82B76 #A89C2B #2BA85E
split-complementary
#2B37A8 #A85E2B #76A82B
monochromatic
#121747 #1F2777 #2B37A8 #424FCF #727CDB

Accessibility & contrast

On white

9.48
#2B37A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2B37A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B37A8
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B37A8#FFFFFF#000000##FFFFFF
##2B37A81.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0040A6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b37a8;
/* rgb */ color: rgb(43, 55, 168);
/* oklch */ color: oklch(40.7% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#786ec3',
    500: '#2b37a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b37a8;
$custom-light: #786ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b37a8",
  "rgb": {
    "r": 43,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 234.24,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.17889,
    "h": 271
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#2B37A8
secondary
#C2BA6C
accent
#D345E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2B37A8

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

Preview Lab → · Contrast checker → · Palette generator →

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