#253F8B#253F8B

#253F8B is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.131 H 266.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#253F8B
RGBrgb(37, 63, 139)
HSLhsl(225, 58%, 35%)
HSVhsv(225, 73%, 55%)
CMYKcmyk(73.4%, 54.7%, 0%, 45.5%)
CIE-LABlab(28.93, 17.88, -45.27)
CIE-LCHlch(28.93, 48.67, 291.55°)
OKLaboklab(39.38% -0.0086 -0.1302)
OKLCHoklch(39.38% 0.131 266.2)
XYZxyz(7.1990, 5.8117, 25.1635)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F8B #8B7125
analogous
#25728B #253F8B #3E258B
triadic
#253F8B #8B253F #3F8B25
tetradic
#253F8B #8B2572 #8B7125 #258B3E
square
#253F8B #8B2572 #8B7125 #258B3E
split-complementary
#253F8B #8B3E25 #728B25
monochromatic
#0B132A #18295B #253F8B #3255BB #5877D3

Accessibility & contrast

On white

9.71
#253F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#253F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F8B
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F8B#FFFFFF#000000##FFFFFF
##253F8B1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07498E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #253f8b;
/* rgb */ color: rgb(37, 63, 139);
/* oklch */ color: oklch(39.4% 0.131 266.2);
Tailwind
colors: {
  custom: {
    50: '#6e73ad',
    500: '#253f8b',
    950: '#000000',
  },
}
SCSS
$custom: #253f8b;
$custom-light: #6e73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#253f8b",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 224.706,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39384,
    "c": 0.13053,
    "h": 266.2
  },
  "luminance": 0.05812
}

Semantic roles & 50–950 ramp

primary
#253F8B
secondary
#B79E55
accent
#BA47E1
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #253F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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