#25354F#25354F

#25354F is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.051 H 259.8°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#25354F
RGBrgb(37, 53, 79)
HSLhsl(217, 36%, 23%)
HSVhsv(217, 53%, 31%)
CMYKcmyk(53.2%, 32.9%, 0%, 69%)
CIE-LABlab(21.96, 1.89, -17.94)
CIE-LCHlch(21.96, 18.04, 276.01°)
OKLaboklab(32.77% -0.009 -0.0503)
OKLCHoklch(32.77% 0.051 259.8)
XYZxyz(3.4469, 3.5038, 7.8903)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25354F #4F3F25
analogous
#254A4F #25354F #2A254F
triadic
#25354F #4F2535 #354F25
tetradic
#25354F #4F254A #4F3F25 #254F2A
square
#25354F #4F254A #4F3F25 #254F2A
split-complementary
#25354F #4F2A25 #4A4F25
monochromatic
#0A0E15 #111925 #25354F #395179 #4C6DA2

Accessibility & contrast

On white

12.35
#25354F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#25354F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25354F
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25354F#FFFFFF#000000##FFFFFF
##25354F1.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3750
Deuteranopia (green-blind)
#26334E
Tritanopia (blue-blind)
#133B3E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25354f;
/* rgb */ color: rgb(37, 53, 79);
/* oklch */ color: oklch(32.8% 0.051 259.8);
Tailwind
colors: {
  custom: {
    50: '#626c80',
    500: '#25354f',
    950: '#000000',
  },
}
SCSS
$custom: #25354f;
$custom-light: #626c80;
$custom-dark: #000000;
JSON
{
  "hex": "#25354f",
  "rgb": {
    "r": 37,
    "g": 53,
    "b": 79
  },
  "hsl": {
    "h": 217.143,
    "s": 36.207,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.05111,
    "h": 259.8
  },
  "luminance": 0.03504
}

Semantic roles & 50–950 ramp

primary
#25354F
secondary
#826E4E
accent
#A15CCC
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #25354F

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

Preview Lab → · Contrast checker → · Palette generator →

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