#251380#251380

#251380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.166 H 277.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#251380
RGBrgb(37, 19, 128)
HSLhsl(250, 74%, 29%)
HSVhsv(250, 85%, 50%)
CMYKcmyk(71.1%, 85.2%, 0%, 49.8%)
CIE-LABlab(17.54, 41.41, -57.04)
CIE-LCHlch(17.54, 70.48, 305.98°)
OKLaboklab(30.78% 0.0225 -0.1648)
OKLCHoklch(30.78% 0.166 277.8)
XYZxyz(4.8908, 2.4171, 20.6267)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251380 #6E8013
analogous
#133880 #251380 #5C1380
triadic
#251380 #802513 #138025
tetradic
#251380 #801338 #6E8013 #13805C
square
#251380 #801338 #6E8013 #13805C
split-complementary
#251380 #805C13 #388013
monochromatic
#08041B #160B4B #251380 #341BB5 #4B2DE0

Accessibility & contrast

On white

14.15
#251380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#251380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251380
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251380#FFFFFF#000000##FFFFFF
##2513801.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #251380;
/* rgb */ color: rgb(37, 19, 128);
/* oklch */ color: oklch(30.8% 0.166 277.8);
Tailwind
colors: {
  custom: {
    50: '#6f55a6',
    500: '#251380',
    950: '#000000',
  },
}
SCSS
$custom: #251380;
$custom-light: #6f55a6;
$custom-dark: #000000;
JSON
{
  "hex": "#251380",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 128
  },
  "hsl": {
    "h": 249.908,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30779,
    "c": 0.1663,
    "h": 277.8
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#251380
secondary
#A1B539
accent
#F137D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #251380

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

Preview Lab → · Contrast checker → · Palette generator →

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