#2B2F89#2B2F89

#2B2F89 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.147 H 274.4°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2B2F89
RGBrgb(43, 47, 137)
HSLhsl(237, 52%, 35%)
HSVhsv(237, 69%, 54%)
CMYKcmyk(68.6%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.80, 28.87, -50.73)
CIE-LCHlch(24.80, 58.37, 299.65°)
OKLaboklab(36.35% 0.0113 -0.1463)
OKLCHoklch(36.35% 0.147 274.4)
XYZxyz(6.5266, 4.3522, 24.1582)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F89 #89852B
analogous
#2B5E89 #2B2F89 #562B89
triadic
#2B2F89 #892B2F #2F892B
tetradic
#2B2F89 #892B5E #89852B #2B8956
square
#2B2F89 #892B5E #89852B #2B8956
split-complementary
#2B2F89 #89562B #5E892B
monochromatic
#0E0F2C #1C1F5A #2B2F89 #3A3FB8 #6166CD

Accessibility & contrast

On white

11.23
#2B2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2B2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F89
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F89#FFFFFF#000000##FFFFFF
##2B2F891.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2f89;
/* rgb */ color: rgb(43, 47, 137);
/* oklch */ color: oklch(36.4% 0.147 274.4);
Tailwind
colors: {
  custom: {
    50: '#7167ac',
    500: '#2b2f89',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f89;
$custom-light: #7167ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f89",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 237.447,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3635,
    "c": 0.14679,
    "h": 274.4
  },
  "luminance": 0.04353
}

Semantic roles & 50–950 ramp

primary
#2B2F89
secondary
#B3B05C
accent
#D64CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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