#2B258F#2B258F

#2B258F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.167 H 276.1°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#2B258F
RGBrgb(43, 37, 143)
HSLhsl(243, 59%, 35%)
HSVhsv(243, 74%, 56%)
CMYKcmyk(69.9%, 74.1%, 0%, 43.9%)
CIE-LABlab(23.06, 37.28, -57.31)
CIE-LCHlch(23.06, 68.37, 303.04°)
OKLaboklab(35.27% 0.0177 -0.1656)
OKLCHoklch(35.27% 0.167 276.1)
XYZxyz(6.6141, 3.8193, 26.3699)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B258F #898F25
analogous
#25548F #2B258F #60258F
triadic
#2B258F #8F2B25 #258F2B
tetradic
#2B258F #8F2554 #898F25 #258F60
square
#2B258F #8F2554 #898F25 #258F60
split-complementary
#2B258F #8F6025 #548F25
monochromatic
#0E0C2E #1C185E #2B258F #3A32C0 #615AD4

Accessibility & contrast

On white

11.90
#2B258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B258F
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B258F#FFFFFF#000000##FFFFFF
##2B258F1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b258f;
/* rgb */ color: rgb(43, 37, 143);
/* oklch */ color: oklch(35.3% 0.167 276.1);
Tailwind
colors: {
  custom: {
    50: '#7361b1',
    500: '#2b258f',
    950: '#000000',
  },
}
SCSS
$custom: #2b258f;
$custom-light: #7361b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b258f",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 243.396,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35272,
    "c": 0.16656,
    "h": 276.1
  },
  "luminance": 0.0382
}

Semantic roles & 50–950 ramp

primary
#2B258F
secondary
#B3B957
accent
#E246D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2B258F

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

Preview Lab → · Contrast checker → · Palette generator →

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