#2B2D9C#2B2D9C

#2B2D9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.175 H 273.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2B2D9C
RGBrgb(43, 45, 156)
HSLhsl(239, 57%, 39%)
HSVhsv(239, 72%, 61%)
CMYKcmyk(72.4%, 71.2%, 0%, 38.8%)
CIE-LABlab(26.13, 36.93, -60.27)
CIE-LCHlch(26.13, 70.69, 301.50°)
OKLaboklab(37.86% 0.0106 -0.1743)
OKLCHoklch(37.86% 0.175 273.5)
XYZxyz(7.9334, 4.7899, 31.9525)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D9C #9C9A2B
analogous
#2B669C #2B2D9C #622B9C
triadic
#2B2D9C #9C2B2D #2D9C2B
tetradic
#2B2D9C #9C2B66 #9C9A2B #2B9C62
square
#2B2D9C #9C2B66 #9C9A2B #2B9C62
split-complementary
#2B2D9C #9C622B #669C2B
monochromatic
#11113C #1E1F6C #2B2D9C #3B3EC9 #6B6DD6

Accessibility & contrast

On white

10.72
#2B2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2B2D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D9C
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D9C#FFFFFF#000000##FFFFFF
##2B2D9C1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2b2d9c;
/* rgb */ color: rgb(43, 45, 156);
/* oklch */ color: oklch(37.9% 0.175 273.5);
Tailwind
colors: {
  custom: {
    50: '#7667ba',
    500: '#2b2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d9c;
$custom-light: #7667ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d9c",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 238.938,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.3786,
    "c": 0.1746,
    "h": 273.5
  },
  "luminance": 0.04791
}

Semantic roles & 50–950 ramp

primary
#2B2D9C
secondary
#BDBB66
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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