#2B25A9#2B25A9

#2B25A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.199 H 273.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2B25A9
RGBrgb(43, 37, 169)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 66%)
CMYKcmyk(74.6%, 78.1%, 0%, 33.7%)
CIE-LABlab(25.86, 45.89, -68.60)
CIE-LCHlch(25.86, 82.53, 303.78°)
OKLaboklab(38.08% 0.0122 -0.1985)
OKLCHoklch(38.08% 0.199 273.5)
XYZxyz(8.8169, 4.7004, 37.9710)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A9 #A3A925
analogous
#2561A9 #2B25A9 #6D25A9
triadic
#2B25A9 #A92B25 #25A92B
tetradic
#2B25A9 #A92561 #A3A925 #25A96D
square
#2B25A9 #A92561 #A3A925 #25A96D
split-complementary
#2B25A9 #A96D25 #61A925
monochromatic
#110F45 #1E1A77 #2B25A9 #3F38D3 #6F6ADE

Accessibility & contrast

On white

10.82
#2B25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2B25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A9
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A9#FFFFFF#000000##FFFFFF
##2B25A91.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b25a9;
/* rgb */ color: rgb(43, 37, 169);
/* oklch */ color: oklch(38.1% 0.199 273.5);
Tailwind
colors: {
  custom: {
    50: '#7a62c4',
    500: '#2b25a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a9;
$custom-light: #7a62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a9",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 242.727,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38081,
    "c": 0.19885,
    "h": 273.5
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#2B25A9
secondary
#C0C465
accent
#E741E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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