#2B2D7C#2B2D7C

#2B2D7C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.131 H 276.1°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2B2D7C
RGBrgb(43, 45, 124)
HSLhsl(239, 49%, 33%)
HSVhsv(239, 65%, 49%)
CMYKcmyk(65.3%, 63.7%, 0%, 51.4%)
CIE-LABlab(23.15, 25.47, -45.26)
CIE-LCHlch(23.15, 51.93, 299.37°)
OKLaboklab(34.78% 0.0139 -0.1303)
OKLCHoklch(34.78% 0.131 276.1)
XYZxyz(5.5716, 3.8451, 19.5135)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D7C #7C7A2B
analogous
#2B557C #2B2D7C #522B7C
triadic
#2B2D7C #7C2B2D #2D7C2B
tetradic
#2B2D7C #7C2B55 #7C7A2B #2B7C52
square
#2B2D7C #7C2B55 #7C7A2B #2B7C52
split-complementary
#2B2D7C #7C522B #557C2B
monochromatic
#0B0C21 #1B1D4F #2B2D7C #3B3DA9 #5B5EC6

Accessibility & contrast

On white

11.87
#2B2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D7C
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D7C#FFFFFF#000000##FFFFFF
##2B2D7C1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2d7c;
/* rgb */ color: rgb(43, 45, 124);
/* oklch */ color: oklch(34.8% 0.131 276.1);
Tailwind
colors: {
  custom: {
    50: '#6e66a3',
    500: '#2b2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d7c;
$custom-light: #6e66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d7c",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 238.519,
    "s": 48.503,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.13104,
    "h": 276.1
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#2B2D7C
secondary
#ACAA57
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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