#2B25A0#2B25A0

#2B25A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.188 H 274.3°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#2B25A0
RGBrgb(43, 37, 160)
HSLhsl(243, 62%, 39%)
HSVhsv(243, 77%, 63%)
CMYKcmyk(73.1%, 76.9%, 0%, 37.3%)
CIE-LABlab(24.87, 42.96, -64.78)
CIE-LCHlch(24.87, 77.73, 303.55°)
OKLaboklab(37.09% 0.0142 -0.1874)
OKLCHoklch(37.09% 0.188 274.3)
XYZxyz(8.0009, 4.3740, 33.6735)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A0 #9AA025
analogous
#255CA0 #2B25A0 #6825A0
triadic
#2B25A0 #A02B25 #25A02B
tetradic
#2B25A0 #A0255C #9AA025 #25A068
square
#2B25A0 #A0255C #9AA025 #25A068
split-complementary
#2B25A0 #A06825 #5CA025
monochromatic
#100E3D #1E1A6E #2B25A0 #3A32D0 #6A64DB

Accessibility & contrast

On white

11.20
#2B25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2B25A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A0
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A0#FFFFFF#000000##FFFFFF
##2B25A01.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2b25a0;
/* rgb */ color: rgb(43, 37, 160);
/* oklch */ color: oklch(37.1% 0.188 274.3);
Tailwind
colors: {
  custom: {
    50: '#7762bd',
    500: '#2b25a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a0;
$custom-light: #7762bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a0",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 242.927,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3709,
    "c": 0.18792,
    "h": 274.3
  },
  "luminance": 0.04375
}

Semantic roles & 50–950 ramp

primary
#2B25A0
secondary
#BCC160
accent
#E642DE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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