#254B83#254B83

#254B83 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.5% C 0.103 H 258.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#254B83
RGBrgb(37, 75, 131)
HSLhsl(216, 56%, 33%)
HSVhsv(216, 72%, 51%)
CMYKcmyk(71.8%, 42.7%, 0%, 48.6%)
CIE-LABlab(31.95, 6.57, -35.47)
CIE-LCHlch(31.95, 36.07, 280.49°)
OKLaboklab(41.52% -0.0213 -0.1012)
OKLCHoklch(41.52% 0.103 258.1)
XYZxyz(7.3743, 7.0634, 22.4431)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B83 #835D25
analogous
#257A83 #254B83 #2E2583
triadic
#254B83 #83254B #4B8325
tetradic
#254B83 #83257A #835D25 #25832E
square
#254B83 #83257A #835D25 #25832E
split-complementary
#254B83 #832E25 #7A8325
monochromatic
#0A1424 #183053 #254B83 #3266B3 #5485CF

Accessibility & contrast

On white

8.70
#254B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#254B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B83
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B83#FFFFFF#000000##FFFFFF
##254B831.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315085
Deuteranopia (green-blind)
#224782
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254b83;
/* rgb */ color: rgb(37, 75, 131);
/* oklch */ color: oklch(41.5% 0.103 258.1);
Tailwind
colors: {
  custom: {
    50: '#6c7ca7',
    500: '#254b83',
    950: '#000000',
  },
}
SCSS
$custom: #254b83;
$custom-light: #6c7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#254b83",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 131
  },
  "hsl": {
    "h": 215.745,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41522,
    "c": 0.10344,
    "h": 258.1
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#254B83
secondary
#B38B51
accent
#A249DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254B83

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

Preview Lab → · Contrast checker → · Palette generator →

#254B83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva