#25285B#25285B

#25285B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.090 H 277.1°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#25285B
RGBrgb(37, 40, 91)
HSLhsl(237, 42%, 25%)
HSVhsv(237, 59%, 36%)
CMYKcmyk(59.3%, 56%, 0%, 64.3%)
CIE-LABlab(18.65, 15.53, -31.18)
CIE-LCHlch(18.65, 34.83, 296.48°)
OKLaboklab(30.48% 0.0111 -0.0891)
OKLCHoklch(30.48% 0.09 277.1)
XYZxyz(3.4095, 2.6660, 10.2304)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25285B #5B5825
analogous
#25435B #25285B #3D255B
triadic
#25285B #5B2528 #285B25
tetradic
#25285B #5B2543 #5B5825 #255B3D
square
#25285B #5B2543 #5B5825 #255B3D
split-complementary
#25285B #5B3D25 #435B25
monochromatic
#090A16 #13152F #25285B #373B87 #484EB2

Accessibility & contrast

On white

13.70
#25285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#25285B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25285B
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25285B#FFFFFF#000000##FFFFFF
##25285B1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C305D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#0A343D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #25285b;
/* rgb */ color: rgb(37, 40, 91);
/* oklch */ color: oklch(30.5% 0.090 277.1);
Tailwind
colors: {
  custom: {
    50: '#65618a',
    500: '#25285b',
    950: '#000000',
  },
}
SCSS
$custom: #25285b;
$custom-light: #65618a;
$custom-dark: #000000;
JSON
{
  "hex": "#25285b",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 236.667,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30482,
    "c": 0.08981,
    "h": 277.1
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#25285B
secondary
#8E8B4D
accent
#CB56D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #25285B

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

Preview Lab → · Contrast checker → · Palette generator →

#25285B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva