#254A90#254A90

#254A90 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.2% C 0.123 H 261.7°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#254A90
RGBrgb(37, 74, 144)
HSLhsl(219, 59%, 35%)
HSVhsv(219, 74%, 56%)
CMYKcmyk(74.3%, 48.6%, 0%, 43.5%)
CIE-LABlab(32.49, 12.33, -42.60)
CIE-LCHlch(32.49, 44.35, 286.14°)
OKLaboklab(42.21% -0.0178 -0.1222)
OKLCHoklch(42.21% 0.123 261.7)
XYZxyz(8.2440, 7.3036, 27.3554)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A90 #906B25
analogous
#257F90 #254A90 #352590
triadic
#254A90 #90254A #4A9025
tetradic
#254A90 #90257F #906B25 #259035
square
#254A90 #90257F #906B25 #259035
split-complementary
#254A90 #903525 #7F9025
monochromatic
#0C182F #18315F #254A90 #3263C1 #5B85D5

Accessibility & contrast

On white

8.53
#254A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#254A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A90
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A90#FFFFFF#000000##FFFFFF
##254A901.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245293
Deuteranopia (green-blind)
#07488F
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #254a90;
/* rgb */ color: rgb(37, 74, 144);
/* oklch */ color: oklch(42.2% 0.123 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7cb1',
    500: '#254a90',
    950: '#000000',
  },
}
SCSS
$custom: #254a90;
$custom-light: #6e7cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#254a90",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 144
  },
  "hsl": {
    "h": 219.252,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42207,
    "c": 0.12349,
    "h": 261.7
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#254A90
secondary
#B99857
accent
#AC45E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254A90

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

Preview Lab → · Contrast checker → · Palette generator →

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