#2B258D#2B258D

#2B258D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.164 H 276.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#2B258D
RGBrgb(43, 37, 141)
HSLhsl(243, 58%, 35%)
HSVhsv(243, 74%, 55%)
CMYKcmyk(69.5%, 73.8%, 0%, 44.7%)
CIE-LABlab(22.86, 36.60, -56.41)
CIE-LCHlch(22.86, 67.24, 302.97°)
OKLaboklab(35.06% 0.0181 -0.163)
OKLCHoklch(35.06% 0.164 276.3)
XYZxyz(6.4640, 3.7592, 25.5791)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B258D #878D25
analogous
#25538D #2B258D #5F258D
triadic
#2B258D #8D2B25 #258D2B
tetradic
#2B258D #8D2553 #878D25 #258D5F
square
#2B258D #8D2553 #878D25 #258D5F
split-complementary
#2B258D #8D5F25 #538D25
monochromatic
#0D0C2C #1C185D #2B258D #3A32BD #6059D3

Accessibility & contrast

On white

11.99
#2B258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B258D
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B258D#FFFFFF#000000##FFFFFF
##2B258D1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b258d;
/* rgb */ color: rgb(43, 37, 141);
/* oklch */ color: oklch(35.1% 0.164 276.3);
Tailwind
colors: {
  custom: {
    50: '#7361af',
    500: '#2b258d',
    950: '#000000',
  },
}
SCSS
$custom: #2b258d;
$custom-light: #7361af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b258d",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 243.462,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35063,
    "c": 0.16398,
    "h": 276.3
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#2B258D
secondary
#B2B856
accent
#E246D9
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B258D

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

Preview Lab → · Contrast checker → · Palette generator →

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