#251970#251970

#251970 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.7% C 0.141 H 279.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#251970
RGBrgb(37, 25, 112)
HSLhsl(248, 64%, 27%)
HSVhsv(248, 78%, 44%)
CMYKcmyk(67%, 77.7%, 0%, 56.1%)
CIE-LABlab(16.79, 33.09, -48.01)
CIE-LCHlch(16.79, 58.31, 304.57°)
OKLaboklab(29.71% 0.0239 -0.1386)
OKLCHoklch(29.71% 0.141 279.8)
XYZxyz(4.0343, 2.2581, 15.5494)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#251970 #647019
analogous
#193970 #251970 #511970
triadic
#251970 #702519 #197025
tetradic
#251970 #701939 #647019 #197051
square
#251970 #701939 #647019 #197051
split-complementary
#251970 #705119 #397019
monochromatic
#080619 #140E3E #251970 #3624A2 #4832D1

Accessibility & contrast

On white

14.47
#251970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#251970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #251970
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##251970#FFFFFF#000000##FFFFFF
##2519701.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00266E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #251970;
/* rgb */ color: rgb(37, 25, 112);
/* oklch */ color: oklch(29.7% 0.141 279.8);
Tailwind
colors: {
  custom: {
    50: '#6b579a',
    500: '#251970',
    950: '#000000',
  },
}
SCSS
$custom: #251970;
$custom-light: #6b579a;
$custom-dark: #000000;
JSON
{
  "hex": "#251970",
  "rgb": {
    "r": 37,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 248.276,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.29711,
    "c": 0.1406,
    "h": 279.8
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#251970
secondary
#97A540
accent
#E741D0
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #251970

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

Preview Lab → · Contrast checker → · Palette generator →

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