#2B2E93#2B2E93

#2B2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.162 H 274.0°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#2B2E93
RGBrgb(43, 46, 147)
HSLhsl(238, 55%, 37%)
HSVhsv(238, 71%, 58%)
CMYKcmyk(70.7%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.48, 33.12, -55.81)
CIE-LCHlch(25.48, 64.90, 300.69°)
OKLaboklab(37.13% 0.0111 -0.1612)
OKLCHoklch(37.13% 0.162 274)
XYZxyz(7.2380, 4.5735, 28.0994)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2E93 #93902B
analogous
#2B6293 #2B2E93 #5C2B93
triadic
#2B2E93 #932B2E #2E932B
tetradic
#2B2E93 #932B62 #93902B #2B935C
square
#2B2E93 #932B62 #93902B #2B935C
split-complementary
#2B2E93 #935C2B #62932B
monochromatic
#0F1034 #1D1F64 #2B2E93 #393DC2 #6669D2

Accessibility & contrast

On white

10.97
#2B2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2E93
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2E93#FFFFFF#000000##FFFFFF
##2B2E931.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2e93;
/* rgb */ color: rgb(43, 46, 147);
/* oklch */ color: oklch(37.1% 0.162 274.0);
Tailwind
colors: {
  custom: {
    50: '#7467b4',
    500: '#2b2e93',
    950: '#000000',
  },
}
SCSS
$custom: #2b2e93;
$custom-light: #7467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2e93",
  "rgb": {
    "r": 43,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 238.269,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37129,
    "c": 0.16162,
    "h": 274
  },
  "luminance": 0.04574
}

Semantic roles & 50–950 ramp

primary
#2B2E93
secondary
#B9B661
accent
#DA4ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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