#25285F#25285F

#25285F is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.8% C 0.096 H 276.8°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#25285F
RGBrgb(37, 40, 95)
HSLhsl(237, 44%, 26%)
HSVhsv(237, 61%, 37%)
CMYKcmyk(61.1%, 57.9%, 0%, 62.7%)
CIE-LABlab(18.96, 17.03, -33.34)
CIE-LCHlch(18.96, 37.43, 297.06°)
OKLaboklab(30.81% 0.0114 -0.0955)
OKLCHoklch(30.81% 0.096 276.8)
XYZxyz(3.5866, 2.7369, 11.1635)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25285F #5F5C25
analogous
#25455F #25285F #3F255F
triadic
#25285F #5F2528 #285F25
tetradic
#25285F #5F2545 #5F5C25 #255F3F
square
#25285F #5F2545 #5F5C25 #255F3F
split-complementary
#25285F #5F3F25 #455F25
monochromatic
#090916 #141533 #25285F #363B8B #474DB7

Accessibility & contrast

On white

13.57
#25285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#25285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25285F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25285F#FFFFFF#000000##FFFFFF
##25285F1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063161
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#04353F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25285f;
/* rgb */ color: rgb(37, 40, 95);
/* oklch */ color: oklch(30.8% 0.096 276.8);
Tailwind
colors: {
  custom: {
    50: '#66618d',
    500: '#25285f',
    950: '#000000',
  },
}
SCSS
$custom: #25285f;
$custom-light: #66618d;
$custom-dark: #000000;
JSON
{
  "hex": "#25285f",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 236.897,
    "s": 43.939,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.09615,
    "h": 276.8
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#25285F
secondary
#928F4D
accent
#CD54D4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #25285F

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

Preview Lab → · Contrast checker → · Palette generator →

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