#253280#253280

#253280 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.132 H 270.9°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#253280
RGBrgb(37, 50, 128)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 50%)
CMYKcmyk(71.1%, 60.9%, 0%, 49.8%)
CIE-LABlab(24.43, 22.58, -45.72)
CIE-LCHlch(24.43, 51.00, 296.29°)
OKLaboklab(35.73% 0.0022 -0.1318)
OKLCHoklch(35.73% 0.132 270.9)
XYZxyz(5.7985, 4.2325, 20.9293)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253280 #807325
analogous
#255F80 #253280 #462580
triadic
#253280 #802532 #328025
tetradic
#253280 #80255F #807325 #258046
square
#253280 #80255F #807325 #258046
split-complementary
#253280 #804625 #5F8025
monochromatic
#0A0D21 #171F51 #253280 #3345AF #5264CD

Accessibility & contrast

On white

11.37
#253280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#253280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253280
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253280#FFFFFF#000000##FFFFFF
##2532801.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253280;
/* rgb */ color: rgb(37, 50, 128);
/* oklch */ color: oklch(35.7% 0.132 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#253280',
    950: '#000000',
  },
}
SCSS
$custom: #253280;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253280",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 231.429,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35728,
    "c": 0.13181,
    "h": 270.9
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#253280
secondary
#B1A350
accent
#C949DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #253280

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

Preview Lab → · Contrast checker → · Palette generator →

#253280 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva