#254B90#254B90

#254B90 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.122 H 261.2°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#254B90
RGBrgb(37, 75, 144)
HSLhsl(219, 59%, 35%)
HSVhsv(219, 74%, 56%)
CMYKcmyk(74.3%, 47.9%, 0%, 43.5%)
CIE-LABlab(32.78, 11.65, -42.12)
CIE-LCHlch(32.78, 43.70, 285.46°)
OKLaboklab(42.44% -0.0187 -0.1208)
OKLCHoklch(42.44% 0.122 261.2)
XYZxyz(8.3113, 7.4382, 27.3778)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B90 #906A25
analogous
#258090 #254B90 #352590
triadic
#254B90 #90254B #4B9025
tetradic
#254B90 #902580 #906A25 #259035
square
#254B90 #902580 #906A25 #259035
split-complementary
#254B90 #903525 #809025
monochromatic
#0C182F #18325F #254B90 #3264C1 #5B86D5

Accessibility & contrast

On white

8.44
#254B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#254B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B90
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B90#FFFFFF#000000##FFFFFF
##254B901.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265293
Deuteranopia (green-blind)
#0C498F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254b90;
/* rgb */ color: rgb(37, 75, 144);
/* oklch */ color: oklch(42.4% 0.122 261.2);
Tailwind
colors: {
  custom: {
    50: '#6e7cb1',
    500: '#254b90',
    950: '#000000',
  },
}
SCSS
$custom: #254b90;
$custom-light: #6e7cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#254b90",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 144
  },
  "hsl": {
    "h": 218.692,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42435,
    "c": 0.12223,
    "h": 261.2
  },
  "luminance": 0.07439
}

Semantic roles & 50–950 ramp

primary
#254B90
secondary
#B99757
accent
#AB45E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254B90

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

Preview Lab → · Contrast checker → · Palette generator →

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