#2B2E7B#2B2E7B

#2B2E7B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.128 H 275.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2B2E7B
RGBrgb(43, 46, 123)
HSLhsl(238, 48%, 33%)
HSVhsv(238, 65%, 48%)
CMYKcmyk(65%, 62.6%, 0%, 51.8%)
CIE-LABlab(23.33, 24.43, -44.34)
CIE-LCHlch(23.33, 50.62, 298.85°)
OKLaboklab(34.89% 0.013 -0.1276)
OKLCHoklch(34.89% 0.128 275.8)
XYZxyz(5.5472, 3.8972, 19.1950)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E7B #7B782B
analogous
#2B567B #2B2E7B #502B7B
triadic
#2B2E7B #7B2B2E #2E7B2B
tetradic
#2B2E7B #7B2B56 #7B782B #2B7B50
square
#2B2E7B #7B2B56 #7B782B #2B7B50
split-complementary
#2B2E7B #7B502B #567B2B
monochromatic
#0B0C20 #1B1D4E #2B2E7B #3B3FA8 #5B5FC6

Accessibility & contrast

On white

11.80
#2B2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2B2E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E7B
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E7B#FFFFFF#000000##FFFFFF
##2B2E7B1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2b2e7b;
/* rgb */ color: rgb(43, 46, 123);
/* oklch */ color: oklch(34.9% 0.128 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e66a2',
    500: '#2b2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e7b;
$custom-light: #6e66a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e7b",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 237.75,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34888,
    "c": 0.12825,
    "h": 275.8
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#2B2E7B
secondary
#ABA856
accent
#D350D8
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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