#253F8F#253F8F

#253F8F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.136 H 266.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#253F8F
RGBrgb(37, 63, 143)
HSLhsl(225, 59%, 35%)
HSVhsv(225, 74%, 56%)
CMYKcmyk(74.1%, 55.9%, 0%, 43.9%)
CIE-LABlab(29.24, 19.44, -47.24)
CIE-LCHlch(29.24, 51.08, 292.37°)
OKLaboklab(39.71% -0.0083 -0.136)
OKLCHoklch(39.71% 0.136 266.5)
XYZxyz(7.4967, 5.9307, 26.7309)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F8F #8F7525
analogous
#25748F #253F8F #40258F
triadic
#253F8F #8F253F #3F8F25
tetradic
#253F8F #8F2574 #8F7525 #258F40
square
#253F8F #8F2574 #8F7525 #258F40
split-complementary
#253F8F #8F4025 #748F25
monochromatic
#0C142E #182A5E #253F8F #3254C0 #5A78D4

Accessibility & contrast

On white

9.61
#253F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#253F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F8F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F8F#FFFFFF#000000##FFFFFF
##253F8F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #253f8f;
/* rgb */ color: rgb(37, 63, 143);
/* oklch */ color: oklch(39.7% 0.136 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f73b0',
    500: '#253f8f',
    950: '#000000',
  },
}
SCSS
$custom: #253f8f;
$custom-light: #6f73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#253f8f",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 143
  },
  "hsl": {
    "h": 225.283,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39711,
    "c": 0.1363,
    "h": 266.5
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#253F8F
secondary
#B9A157
accent
#BC46E2
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #253F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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