#253259#253259

#253259 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.071 H 268.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#253259
RGBrgb(37, 50, 89)
HSLhsl(225, 41%, 25%)
HSVhsv(225, 58%, 35%)
CMYKcmyk(58.4%, 43.8%, 0%, 65.1%)
CIE-LABlab(21.56, 7.64, -25.20)
CIE-LCHlch(21.56, 26.33, 286.87°)
OKLaboklab(32.65% -0.002 -0.0715)
OKLCHoklch(32.65% 0.071 268.4)
XYZxyz(3.7061, 3.3955, 9.9094)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253259 #594C25
analogous
#254C59 #253259 #322559
triadic
#253259 #592532 #325925
tetradic
#253259 #59254C #594C25 #255932
square
#253259 #59254C #594C25 #255932
split-complementary
#253259 #593225 #4C5925
monochromatic
#090C16 #131A2E #253259 #374A84 #4963AF

Accessibility & contrast

On white

12.51
#253259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#253259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253259
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253259#FFFFFF#000000##FFFFFF
##2532591.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22365B
Deuteranopia (green-blind)
#1C3258
Tritanopia (blue-blind)
#0A3A41
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #253259;
/* rgb */ color: rgb(37, 50, 89);
/* oklch */ color: oklch(32.7% 0.071 268.4);
Tailwind
colors: {
  custom: {
    50: '#646988',
    500: '#253259',
    950: '#000000',
  },
}
SCSS
$custom: #253259;
$custom-light: #646988;
$custom-dark: #000000;
JSON
{
  "hex": "#253259",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 89
  },
  "hsl": {
    "h": 225,
    "s": 41.27,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32651,
    "c": 0.07149,
    "h": 268.4
  },
  "luminance": 0.03396
}

Semantic roles & 50–950 ramp

primary
#253259
secondary
#8C7D4D
accent
#B357D1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #253259

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

Preview Lab → · Contrast checker → · Palette generator →

#253259 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva