#2B25A8#2B25A8

#2B25A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.198 H 273.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2B25A8
RGBrgb(43, 37, 168)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 66%)
CMYKcmyk(74.4%, 78%, 0%, 34.1%)
CIE-LABlab(25.75, 45.57, -68.18)
CIE-LCHlch(25.75, 82.01, 303.76°)
OKLaboklab(37.97% 0.0125 -0.1972)
OKLCHoklch(37.97% 0.198 273.6)
XYZxyz(8.7234, 4.6630, 37.4785)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25A8 #A2A825
analogous
#2561A8 #2B25A8 #6C25A8
triadic
#2B25A8 #A82B25 #25A82B
tetradic
#2B25A8 #A82561 #A2A825 #25A86C
square
#2B25A8 #A82561 #A2A825 #25A86C
split-complementary
#2B25A8 #A86C25 #61A825
monochromatic
#110F44 #1E1A76 #2B25A8 #3E37D3 #6F69DE

Accessibility & contrast

On white

10.87
#2B25A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2B25A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25A8
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25A8#FFFFFF#000000##FFFFFF
##2B25A81.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b25a8;
/* rgb */ color: rgb(43, 37, 168);
/* oklch */ color: oklch(38.0% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#7962c3',
    500: '#2b25a8',
    950: '#000000',
  },
}
SCSS
$custom: #2b25a8;
$custom-light: #7962c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25a8",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 242.748,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3797,
    "c": 0.19764,
    "h": 273.6
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#2B25A8
secondary
#C0C465
accent
#E741DF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2B25A8

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

Preview Lab → · Contrast checker → · Palette generator →

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