#253281#253281

#253281 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.133 H 270.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#253281
RGBrgb(37, 50, 129)
HSLhsl(232, 55%, 33%)
HSVhsv(232, 71%, 51%)
CMYKcmyk(71.3%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.51, 22.97, -46.22)
CIE-LCHlch(24.51, 51.61, 296.43°)
OKLaboklab(35.82% 0.0022 -0.1332)
OKLCHoklch(35.82% 0.133 270.9)
XYZxyz(5.8647, 4.2589, 21.2776)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253281 #817425
analogous
#256081 #253281 #462581
triadic
#253281 #812532 #328125
tetradic
#253281 #812560 #817425 #258146
square
#253281 #812560 #817425 #258146
split-complementary
#253281 #814625 #608125
monochromatic
#0A0D22 #172051 #253281 #3344B1 #5364CE

Accessibility & contrast

On white

11.34
#253281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253281
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253281#FFFFFF#000000##FFFFFF
##2532811.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253281;
/* rgb */ color: rgb(37, 50, 129);
/* oklch */ color: oklch(35.8% 0.133 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c69a6',
    500: '#253281',
    950: '#000000',
  },
}
SCSS
$custom: #253281;
$custom-light: #6c69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#253281",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 231.522,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35817,
    "c": 0.13325,
    "h": 270.9
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#253281
secondary
#B2A450
accent
#CA49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #253281

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

Preview Lab → · Contrast checker → · Palette generator →

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