#2B2E7A#2B2E7A

#2B2E7A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.127 H 275.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#2B2E7A
RGBrgb(43, 46, 122)
HSLhsl(238, 48%, 32%)
HSVhsv(238, 65%, 48%)
CMYKcmyk(64.8%, 62.3%, 0%, 52.2%)
CIE-LABlab(23.24, 24.06, -43.84)
CIE-LCHlch(23.24, 50.01, 298.76°)
OKLaboklab(34.8% 0.013 -0.1261)
OKLCHoklch(34.8% 0.127 275.9)
XYZxyz(5.4850, 3.8723, 18.8670)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E7A #7A772B
analogous
#2B557A #2B2E7A #502B7A
triadic
#2B2E7A #7A2B2E #2E7A2B
tetradic
#2B2E7A #7A2B55 #7A772B #2B7A50
square
#2B2E7A #7A2B55 #7A772B #2B7A50
split-complementary
#2B2E7A #7A502B #557A2B
monochromatic
#0B0C1F #1B1D4D #2B2E7A #3B3FA7 #5A5EC5

Accessibility & contrast

On white

11.83
#2B2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2E7A
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E7A#FFFFFF#000000##FFFFFF
##2B2E7A1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2e7a;
/* rgb */ color: rgb(43, 46, 122);
/* oklch */ color: oklch(34.8% 0.127 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e66a1',
    500: '#2b2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e7a;
$custom-light: #6e66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e7a",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 237.722,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.348,
    "c": 0.12679,
    "h": 275.9
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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