#253A5B#253A5B

#253A5B is a dark, moderate blue. Relative luminance 0.042; OKLCH L 34.8% C 0.064 H 259.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#253A5B
RGBrgb(37, 58, 91)
HSLhsl(217, 42%, 25%)
HSVhsv(217, 59%, 36%)
CMYKcmyk(59.3%, 36.3%, 0%, 64.3%)
CIE-LABlab(24.24, 2.81, -22.28)
CIE-LCHlch(24.24, 22.46, 277.19°)
OKLaboklab(34.76% -0.0121 -0.0629)
OKLCHoklch(34.76% 0.064 259.1)
XYZxyz(4.1637, 4.1744, 10.4818)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253A5B #5B4625
analogous
#25555B #253A5B #2B255B
triadic
#253A5B #5B253A #3A5B25
tetradic
#253A5B #5B2555 #5B4625 #255B2B
square
#253A5B #5B2555 #5B4625 #255B2B
split-complementary
#253A5B #5B2B25 #555B25
monochromatic
#090E16 #131E2F #253A5B #375687 #4871B2

Accessibility & contrast

On white

11.44
#253A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#253A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253A5B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253A5B#FFFFFF#000000##FFFFFF
##253A5B1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5C
Deuteranopia (green-blind)
#26375A
Tritanopia (blue-blind)
#044146
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #253a5b;
/* rgb */ color: rgb(37, 58, 91);
/* oklch */ color: oklch(34.8% 0.064 259.1);
Tailwind
colors: {
  custom: {
    50: '#646f89',
    500: '#253a5b',
    950: '#000000',
  },
}
SCSS
$custom: #253a5b;
$custom-light: #646f89;
$custom-dark: #000000;
JSON
{
  "hex": "#253a5b",
  "rgb": {
    "r": 37,
    "g": 58,
    "b": 91
  },
  "hsl": {
    "h": 216.667,
    "s": 42.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34763,
    "c": 0.06403,
    "h": 259.1
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#253A5B
secondary
#8E754D
accent
#A256D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #253A5B

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

Preview Lab → · Contrast checker → · Palette generator →

#253A5B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva