#25285D#25285D

#25285D is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.093 H 277.0°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#25285D
RGBrgb(37, 40, 93)
HSLhsl(237, 43%, 25%)
HSVhsv(237, 60%, 36%)
CMYKcmyk(60.2%, 57%, 0%, 63.5%)
CIE-LABlab(18.80, 16.28, -32.26)
CIE-LCHlch(18.80, 36.13, 296.78°)
OKLaboklab(30.64% 0.0113 -0.0923)
OKLCHoklch(30.64% 0.093 277)
XYZxyz(3.4969, 2.7010, 10.6909)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25285D #5D5A25
analogous
#25445D #25285D #3E255D
triadic
#25285D #5D2528 #285D25
tetradic
#25285D #5D2544 #5D5A25 #255D3E
square
#25285D #5D2544 #5D5A25 #255D3E
split-complementary
#25285D #5D3E25 #445D25
monochromatic
#090916 #141531 #25285D #363B89 #484EB5

Accessibility & contrast

On white

13.63
#25285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#25285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25285D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25285D#FFFFFF#000000##FFFFFF
##25285D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09305F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#07343E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25285d;
/* rgb */ color: rgb(37, 40, 93);
/* oklch */ color: oklch(30.6% 0.093 277.0);
Tailwind
colors: {
  custom: {
    50: '#65618b',
    500: '#25285d',
    950: '#000000',
  },
}
SCSS
$custom: #25285d;
$custom-light: #65618b;
$custom-dark: #000000;
JSON
{
  "hex": "#25285d",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 236.786,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30643,
    "c": 0.093,
    "h": 277
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#25285D
secondary
#908D4D
accent
#CC55D3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #25285D

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

Preview Lab → · Contrast checker → · Palette generator →

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