#2B25AF#2B25AF

#2B25AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.206 H 273.0°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2B25AF
RGBrgb(43, 37, 175)
HSLhsl(243, 65%, 42%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(75.4%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.54, 47.82, -71.09)
CIE-LCHlch(26.54, 85.68, 303.93°)
OKLaboklab(38.75% 0.0109 -0.2057)
OKLCHoklch(38.75% 0.206 273)
XYZxyz(9.3931, 4.9309, 41.0058)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B25AF #A9AF25
analogous
#2564AF #2B25AF #7025AF
triadic
#2B25AF #AF2B25 #25AF2B
tetradic
#2B25AF #AF2564 #A9AF25 #25AF70
square
#2B25AF #AF2564 #A9AF25 #25AF70
split-complementary
#2B25AF #AF7025 #64AF25
monochromatic
#12104A #1F1A7C #2B25AF #423CD6 #736EE0

Accessibility & contrast

On white

10.57
#2B25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B25AF
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B25AF#FFFFFF#000000##FFFFFF
##2B25AF1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b25af;
/* rgb */ color: rgb(43, 37, 175);
/* oklch */ color: oklch(38.8% 0.206 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2b25af',
    950: '#000000',
  },
}
SCSS
$custom: #2b25af;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b25af",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 242.609,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.206,
    "h": 273
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#2B25AF
secondary
#C3C769
accent
#E840E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2B25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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