#254F92#254F92

#254F92 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.5% C 0.120 H 259.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#254F92
RGBrgb(37, 79, 146)
HSLhsl(217, 60%, 36%)
HSVhsv(217, 75%, 57%)
CMYKcmyk(74.7%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.11, 9.75, -41.22)
CIE-LCHlch(34.11, 42.36, 283.31°)
OKLaboklab(43.5% -0.0221 -0.118)
OKLCHoklch(43.5% 0.12 259.4)
XYZxyz(8.7454, 8.0596, 28.2833)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F92 #926825
analogous
#258592 #254F92 #312592
triadic
#254F92 #92254F #4F9225
tetradic
#254F92 #922585 #926825 #259231
square
#254F92 #922585 #926825 #259231
split-complementary
#254F92 #923125 #859225
monochromatic
#0C1A30 #193561 #254F92 #3169C3 #5C8BD6

Accessibility & contrast

On white

8.04
#254F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#254F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F92
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F92#FFFFFF#000000##FFFFFF
##254F921.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5695
Deuteranopia (green-blind)
#174C91
Tritanopia (blue-blind)
#005F69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254f92;
/* rgb */ color: rgb(37, 79, 146);
/* oklch */ color: oklch(43.5% 0.120 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fb2',
    500: '#254f92',
    950: '#000000',
  },
}
SCSS
$custom: #254f92;
$custom-light: #6f7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#254f92",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 216.881,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43495,
    "c": 0.1201,
    "h": 259.4
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#254F92
secondary
#BA9558
accent
#A645E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254F92

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

Preview Lab → · Contrast checker → · Palette generator →

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