#2B2695#2B2695

#2B2695 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.173 H 275.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2B2695
RGBrgb(43, 38, 149)
HSLhsl(243, 59%, 37%)
HSVhsv(243, 74%, 58%)
CMYKcmyk(71.1%, 74.5%, 0%, 41.6%)
CIE-LABlab(23.90, 38.72, -59.65)
CIE-LCHlch(23.90, 71.12, 302.99°)
OKLaboklab(36.05% 0.016 -0.1724)
OKLCHoklch(36.05% 0.173 275.3)
XYZxyz(7.1124, 4.0691, 28.8385)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2695 #909526
analogous
#265995 #2B2695 #632695
triadic
#2B2695 #952B26 #26952B
tetradic
#2B2695 #952659 #909526 #269563
square
#2B2695 #952659 #909526 #269563
split-complementary
#2B2695 #956326 #599526
monochromatic
#0F0D33 #1D1A64 #2B2695 #3932C6 #655FD6

Accessibility & contrast

On white

11.58
#2B2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2B2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2695
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2695#FFFFFF#000000##FFFFFF
##2B26951.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2695;
/* rgb */ color: rgb(43, 38, 149);
/* oklch */ color: oklch(36.1% 0.173 275.3);
Tailwind
colors: {
  custom: {
    50: '#7562b5',
    500: '#2b2695',
    950: '#000000',
  },
}
SCSS
$custom: #2b2695;
$custom-light: #7562b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2695",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 242.703,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36052,
    "c": 0.17318,
    "h": 275.3
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#2B2695
secondary
#B7BB5B
accent
#E345DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2B2695

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

Preview Lab → · Contrast checker → · Palette generator →

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