#2B25A2#2B25A2

#2B25A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.190 H 274.2°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2B25A2
RGBrgb(43, 37, 162)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(73.5%, 77.2%, 0%, 36.5%)
CIE-LABlab(25.09, 43.62, -65.64)
CIE-LCHlch(25.09, 78.81, 303.60°)
OKLaboklab(37.31% 0.0138 -0.1899)
OKLCHoklch(37.31% 0.19 274.2)
XYZxyz(8.1772, 4.4445, 34.6023)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A2 #9CA225
analogous
#255EA2 #2B25A2 #6A25A2
triadic
#2B25A2 #A22B25 #25A22B
tetradic
#2B25A2 #A2255E #9CA225 #25A26A
square
#2B25A2 #A2255E #9CA225 #25A26A
split-complementary
#2B25A2 #A26A25 #5EA225
monochromatic
#110E3E #1E1A70 #2B25A2 #3B34D1 #6B65DC

Accessibility & contrast

On white

11.12
#2B25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2B25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A2
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A2#FFFFFF#000000##FFFFFF
##2B25A21.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b25a2;
/* rgb */ color: rgb(43, 37, 162);
/* oklch */ color: oklch(37.3% 0.190 274.2);
Tailwind
colors: {
  custom: {
    50: '#7862bf',
    500: '#2b25a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a2;
$custom-light: #7862bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a2",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 242.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37309,
    "c": 0.19037,
    "h": 274.2
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#2B25A2
secondary
#BDC261
accent
#E642DE
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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