#253F83#253F83

#253F83 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.8% C 0.119 H 265.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#253F83
RGBrgb(37, 63, 131)
HSLhsl(223, 56%, 33%)
HSVhsv(223, 72%, 51%)
CMYKcmyk(71.8%, 51.9%, 0%, 48.6%)
CIE-LABlab(28.34, 14.75, -41.25)
CIE-LCHlch(28.34, 43.81, 289.67°)
OKLaboklab(38.75% -0.0094 -0.1184)
OKLCHoklch(38.75% 0.119 265.4)
XYZxyz(6.6358, 5.5864, 22.1969)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F83 #836925
analogous
#256E83 #253F83 #3A2583
triadic
#253F83 #83253F #3F8325
tetradic
#253F83 #83256E #836925 #25833A
square
#253F83 #83256E #836925 #25833A
split-complementary
#253F83 #833A25 #6E8325
monochromatic
#0A1124 #182853 #253F83 #3256B3 #5476CF

Accessibility & contrast

On white

9.92
#253F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#253F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F83
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F83#FFFFFF#000000##FFFFFF
##253F831.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #253f83;
/* rgb */ color: rgb(37, 63, 131);
/* oklch */ color: oklch(38.8% 0.119 265.4);
Tailwind
colors: {
  custom: {
    50: '#6c73a7',
    500: '#253f83',
    950: '#000000',
  },
}
SCSS
$custom: #253f83;
$custom-light: #6c73a7;
$custom-dark: #000000;
JSON
{
  "hex": "#253f83",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 223.404,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38751,
    "c": 0.11882,
    "h": 265.4
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#253F83
secondary
#B39851
accent
#B649DF
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #253F83

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

Preview Lab → · Contrast checker → · Palette generator →

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