#253F80#253F80

#253F80 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.5% C 0.114 H 265.1°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#253F80
RGBrgb(37, 63, 128)
HSLhsl(223, 55%, 32%)
HSVhsv(223, 71%, 50%)
CMYKcmyk(71.1%, 50.8%, 0%, 49.8%)
CIE-LABlab(28.13, 13.57, -39.72)
CIE-LCHlch(28.13, 41.98, 288.86°)
OKLaboklab(38.52% -0.0098 -0.1139)
OKLCHoklch(38.52% 0.114 265.1)
XYZxyz(6.4354, 5.5062, 21.1415)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#253F80 #806625
analogous
#256D80 #253F80 #382580
triadic
#253F80 #80253F #3F8025
tetradic
#253F80 #80256D #806625 #258038
square
#253F80 #80256D #806625 #258038
split-complementary
#253F80 #803825 #6D8025
monochromatic
#0A1021 #172851 #253F80 #3356AF #5275CD

Accessibility & contrast

On white

9.99
#253F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#253F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #253F80
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##253F80#FFFFFF#000000##FFFFFF
##253F801.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4782
Deuteranopia (green-blind)
#013E7F
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #253f80;
/* rgb */ color: rgb(37, 63, 128);
/* oklch */ color: oklch(38.5% 0.114 265.1);
Tailwind
colors: {
  custom: {
    50: '#6b73a5',
    500: '#253f80',
    950: '#000000',
  },
}
SCSS
$custom: #253f80;
$custom-light: #6b73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#253f80",
  "rgb": {
    "r": 37,
    "g": 63,
    "b": 128
  },
  "hsl": {
    "h": 222.857,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.11436,
    "h": 265.1
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#253F80
secondary
#B19550
accent
#B449DE
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #253F80

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

Preview Lab → · Contrast checker → · Palette generator →

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