#252B80#252B80

#252B80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.141 H 273.2°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#252B80
RGBrgb(37, 43, 128)
HSLhsl(236, 55%, 32%)
HSVhsv(236, 71%, 50%)
CMYKcmyk(71.1%, 66.4%, 0%, 49.8%)
CIE-LABlab(22.58, 27.35, -48.73)
CIE-LCHlch(22.58, 55.89, 299.30°)
OKLaboklab(34.37% 0.0079 -0.1407)
OKLCHoklch(34.37% 0.141 273.2)
XYZxyz(5.5218, 3.6791, 20.8370)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B80 #807A25
analogous
#255980 #252B80 #4D2580
triadic
#252B80 #80252B #2B8025
tetradic
#252B80 #802559 #807A25 #25804D
square
#252B80 #802559 #807A25 #25804D
split-complementary
#252B80 #804D25 #598025
monochromatic
#0A0B21 #171B51 #252B80 #333BAF #525ACD

Accessibility & contrast

On white

12.10
#252B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B80
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B80#FFFFFF#000000##FFFFFF
##252B801.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252b80;
/* rgb */ color: rgb(37, 43, 128);
/* oklch */ color: oklch(34.4% 0.141 273.2);
Tailwind
colors: {
  custom: {
    50: '#6d64a6',
    500: '#252b80',
    950: '#000000',
  },
}
SCSS
$custom: #252b80;
$custom-light: #6d64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#252b80",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 236.044,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34367,
    "c": 0.14091,
    "h": 273.2
  },
  "luminance": 0.0368
}

Semantic roles & 50–950 ramp

primary
#252B80
secondary
#B1AB50
accent
#D549DE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #252B80

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

Preview Lab → · Contrast checker → · Palette generator →

#252B80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva