#253258#253258

#253258 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.070 H 268.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#253258
RGBrgb(37, 50, 88)
HSLhsl(225, 41%, 25%)
HSVhsv(225, 58%, 35%)
CMYKcmyk(58%, 43.2%, 0%, 65.5%)
CIE-LABlab(21.50, 7.27, -24.63)
CIE-LCHlch(21.50, 25.68, 286.44°)
OKLaboklab(32.58% -0.0023 -0.0698)
OKLCHoklch(32.58% 0.07 268.1)
XYZxyz(3.6644, 3.3788, 9.6897)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253258 #584B25
analogous
#254C58 #253258 #322558
triadic
#253258 #582532 #325825
tetradic
#253258 #58254C #584B25 #255832
square
#253258 #58254C #584B25 #255832
split-complementary
#253258 #583225 #4C5825
monochromatic
#090C16 #131A2D #253258 #374A83 #4963AE

Accessibility & contrast

On white

12.53
#253258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #253258
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253258#FFFFFF#000000##FFFFFF
##2532581.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223659
Deuteranopia (green-blind)
#1D3157
Tritanopia (blue-blind)
#0B3A40
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #253258;
/* rgb */ color: rgb(37, 50, 88);
/* oklch */ color: oklch(32.6% 0.070 268.1);
Tailwind
colors: {
  custom: {
    50: '#646987',
    500: '#253258',
    950: '#000000',
  },
}
SCSS
$custom: #253258;
$custom-light: #646987;
$custom-dark: #000000;
JSON
{
  "hex": "#253258",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 88
  },
  "hsl": {
    "h": 224.706,
    "s": 40.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32584,
    "c": 0.06985,
    "h": 268.1
  },
  "luminance": 0.03379
}

Semantic roles & 50–950 ramp

primary
#253258
secondary
#8B7C4D
accent
#B257D1
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #253258

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

Preview Lab → · Contrast checker → · Palette generator →

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