#254C90#254C90

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

Color values

HEX#254C90
RGBrgb(37, 76, 144)
HSLhsl(218, 59%, 35%)
HSVhsv(218, 74%, 56%)
CMYKcmyk(74.3%, 47.2%, 0%, 43.5%)
CIE-LABlab(33.08, 10.98, -41.65)
CIE-LCHlch(33.08, 43.07, 284.77°)
OKLaboklab(42.66% -0.0196 -0.1194)
OKLCHoklch(42.66% 0.121 260.7)
XYZxyz(8.3796, 7.5749, 27.4006)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C90 #906925
analogous
#258190 #254C90 #342590
triadic
#254C90 #90254C #4C9025
tetradic
#254C90 #902581 #906925 #259034
square
#254C90 #902581 #906925 #259034
split-complementary
#254C90 #903425 #819025
monochromatic
#0C192F #18325F #254C90 #3266C1 #5B87D5

Accessibility & contrast

On white

8.35
#254C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#254C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C90
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C90#FFFFFF#000000##FFFFFF
##254C901.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295393
Deuteranopia (green-blind)
#11498F
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254c90;
/* rgb */ color: rgb(37, 76, 144);
/* oklch */ color: oklch(42.7% 0.121 260.7);
Tailwind
colors: {
  custom: {
    50: '#6e7db1',
    500: '#254c90',
    950: '#000000',
  },
}
SCSS
$custom: #254c90;
$custom-light: #6e7db1;
$custom-dark: #000000;
JSON
{
  "hex": "#254c90",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 144
  },
  "hsl": {
    "h": 218.131,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42663,
    "c": 0.12097,
    "h": 260.7
  },
  "luminance": 0.07576
}

Semantic roles & 50–950 ramp

primary
#254C90
secondary
#B99657
accent
#A945E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254C90

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

Preview Lab → · Contrast checker → · Palette generator →

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