#2B2E83#2B2E83

#2B2E83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.140 H 275.2°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#2B2E83
RGBrgb(43, 46, 131)
HSLhsl(238, 51%, 34%)
HSVhsv(238, 67%, 51%)
CMYKcmyk(67.2%, 64.9%, 0%, 48.6%)
CIE-LABlab(24.02, 27.35, -48.26)
CIE-LCHlch(24.02, 55.47, 299.54°)
OKLaboklab(35.61% 0.0126 -0.1391)
OKLCHoklch(35.61% 0.14 275.2)
XYZxyz(6.0686, 4.1058, 21.9410)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E83 #83802B
analogous
#2B5A83 #2B2E83 #542B83
triadic
#2B2E83 #832B2E #2E832B
tetradic
#2B2E83 #832B5A #83802B #2B8354
square
#2B2E83 #832B5A #83802B #2B8354
split-complementary
#2B2E83 #83542B #5A832B
monochromatic
#0D0E27 #1C1E55 #2B2E83 #3A3EB1 #5E62CA

Accessibility & contrast

On white

11.53
#2B2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2B2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E83
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E83#FFFFFF#000000##FFFFFF
##2B2E831.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2e83;
/* rgb */ color: rgb(43, 46, 131);
/* oklch */ color: oklch(35.6% 0.140 275.2);
Tailwind
colors: {
  custom: {
    50: '#7067a8',
    500: '#2b2e83',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e83;
$custom-light: #7067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e83",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 237.955,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3561,
    "c": 0.13968,
    "h": 275.2
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#2B2E83
secondary
#B0AD5A
accent
#D54EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2B2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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