#2B258E#2B258E

#2B258E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.165 H 276.2°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#2B258E
RGBrgb(43, 37, 142)
HSLhsl(243, 59%, 35%)
HSVhsv(243, 74%, 56%)
CMYKcmyk(69.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(22.96, 36.94, -56.86)
CIE-LCHlch(22.96, 67.80, 303.01°)
OKLaboklab(35.17% 0.0179 -0.1643)
OKLCHoklch(35.17% 0.165 276.2)
XYZxyz(6.5387, 3.7891, 25.9727)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B258E #888E25
analogous
#25538E #2B258E #60258E
triadic
#2B258E #8E2B25 #258E2B
tetradic
#2B258E #8E2553 #888E25 #258E60
square
#2B258E #8E2553 #888E25 #258E60
split-complementary
#2B258E #8E6025 #538E25
monochromatic
#0E0C2D #1C185D #2B258E #3A32BF #615AD4

Accessibility & contrast

On white

11.95
#2B258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2B258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B258E
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B258E#FFFFFF#000000##FFFFFF
##2B258E1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b258e;
/* rgb */ color: rgb(43, 37, 142);
/* oklch */ color: oklch(35.2% 0.165 276.2);
Tailwind
colors: {
  custom: {
    50: '#7361b0',
    500: '#2b258e',
    950: '#000000',
  },
}
SCSS
$custom: #2b258e;
$custom-light: #7361b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b258e",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 243.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35167,
    "c": 0.16527,
    "h": 276.2
  },
  "luminance": 0.0379
}

Semantic roles & 50–950 ramp

primary
#2B258E
secondary
#B3B956
accent
#E246D9
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B258E

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

Preview Lab → · Contrast checker → · Palette generator →

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