#2B2E8E#2B2E8E

#2B2E8E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.155 H 274.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2B2E8E
RGBrgb(43, 46, 142)
HSLhsl(238, 54%, 36%)
HSVhsv(238, 70%, 56%)
CMYKcmyk(69.7%, 67.6%, 0%, 44.3%)
CIE-LABlab(25.01, 31.33, -53.49)
CIE-LCHlch(25.01, 61.99, 300.36°)
OKLaboklab(36.65% 0.0117 -0.1544)
OKLCHoklch(36.65% 0.155 274.3)
XYZxyz(6.8541, 4.4199, 26.0779)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E8E #8E8B2B
analogous
#2B608E #2B2E8E #5A2B8E
triadic
#2B2E8E #8E2B2E #2E8E2B
tetradic
#2B2E8E #8E2B60 #8E8B2B #2B8E5A
square
#2B2E8E #8E2B60 #8E8B2B #2B8E5A
split-complementary
#2B2E8E #8E5A2B #608E2B
monochromatic
#0F1030 #1D1F5F #2B2E8E #393DBD #6367D0

Accessibility & contrast

On white

11.15
#2B2E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B2E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E8E
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E8E#FFFFFF#000000##FFFFFF
##2B2E8E1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b2e8e;
/* rgb */ color: rgb(43, 46, 142);
/* oklch */ color: oklch(36.6% 0.155 274.3);
Tailwind
colors: {
  custom: {
    50: '#7267b0',
    500: '#2b2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e8e;
$custom-light: #7267b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e8e",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 238.182,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36645,
    "c": 0.15489,
    "h": 274.3
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#2B2E8E
secondary
#B6B35F
accent
#D84BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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