#25283F#25283F

#25283F is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.5% C 0.042 H 277.6°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#25283F
RGBrgb(37, 40, 63)
HSLhsl(233, 26%, 20%)
HSVhsv(233, 41%, 25%)
CMYKcmyk(41.3%, 36.5%, 0%, 75.3%)
CIE-LABlab(16.84, 5.50, -15.05)
CIE-LCHlch(16.84, 16.03, 290.08°)
OKLaboklab(28.52% 0.0056 -0.042)
OKLCHoklch(28.52% 0.042 277.6)
XYZxyz(2.4187, 2.2697, 5.0123)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25283F #3F3C25
analogous
#25353F #25283F #2F253F
triadic
#25283F #3F2528 #283F25
tetradic
#25283F #3F2535 #3F3C25 #253F2F
square
#25283F #3F2535 #3F3C25 #253F2F
split-complementary
#25283F #3F2F25 #353F25
monochromatic
#0B0C13 #0E1018 #25283F #3C4066 #52598C

Accessibility & contrast

On white

14.44
#25283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#25283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25283F
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25283F#FFFFFF#000000##FFFFFF
##25283F1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1F293E
Tritanopia (blue-blind)
#1E2C30
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25283f;
/* rgb */ color: rgb(37, 40, 63);
/* oklch */ color: oklch(28.5% 0.042 277.6);
Tailwind
colors: {
  custom: {
    50: '#606174',
    500: '#25283f',
    950: '#000000',
  },
}
SCSS
$custom: #25283f;
$custom-light: #606174;
$custom-dark: #000000;
JSON
{
  "hex": "#25283f",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 233.077,
    "s": 26,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28517,
    "c": 0.04238,
    "h": 277.6
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#25283F
secondary
#716D4E
accent
#B865C2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050508
muted
#79797B

Preview Lab

Preview with #25283F

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

Preview Lab → · Contrast checker → · Palette generator →

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