#254B94#254B94

#254B94 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.7% C 0.128 H 261.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#254B94
RGBrgb(37, 75, 148)
HSLhsl(219, 60%, 36%)
HSVhsv(219, 75%, 58%)
CMYKcmyk(75%, 49.3%, 0%, 42%)
CIE-LABlab(33.05, 13.22, -44.13)
CIE-LCHlch(33.05, 46.06, 286.68°)
OKLaboklab(42.73% -0.0181 -0.1267)
OKLCHoklch(42.73% 0.128 261.9)
XYZxyz(8.6224, 7.5626, 29.0165)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B94 #946E25
analogous
#258394 #254B94 #362594
triadic
#254B94 #94254B #4B9425
tetradic
#254B94 #942583 #946E25 #259436
square
#254B94 #942583 #946E25 #259436
split-complementary
#254B94 #943625 #839425
monochromatic
#0D1932 #193263 #254B94 #3164C5 #5D87D6

Accessibility & contrast

On white

8.36
#254B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#254B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B94
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B94#FFFFFF#000000##FFFFFF
##254B941.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225397
Deuteranopia (green-blind)
#004993
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254b94;
/* rgb */ color: rgb(37, 75, 148);
/* oklch */ color: oklch(42.7% 0.128 261.9);
Tailwind
colors: {
  custom: {
    50: '#6f7cb4',
    500: '#254b94',
    950: '#000000',
  },
}
SCSS
$custom: #254b94;
$custom-light: #6f7cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#254b94",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 148
  },
  "hsl": {
    "h": 219.459,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42729,
    "c": 0.12797,
    "h": 261.9
  },
  "luminance": 0.07564
}

Semantic roles & 50–950 ramp

primary
#254B94
secondary
#BB9A59
accent
#AD45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254B94

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

Preview Lab → · Contrast checker → · Palette generator →

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