#254F90#254F90

#254F90 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.4% C 0.117 H 259.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#254F90
RGBrgb(37, 79, 144)
HSLhsl(216, 59%, 35%)
HSVhsv(216, 74%, 56%)
CMYKcmyk(74.3%, 45.1%, 0%, 43.5%)
CIE-LABlab(33.98, 8.97, -40.21)
CIE-LCHlch(33.98, 41.19, 282.57°)
OKLaboklab(43.36% -0.0225 -0.1151)
OKLCHoklch(43.36% 0.117 259)
XYZxyz(8.5911, 7.9980, 27.4711)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F90 #906625
analogous
#258490 #254F90 #312590
triadic
#254F90 #90254F #4F9025
tetradic
#254F90 #902584 #906625 #259031
square
#254F90 #902584 #906625 #259031
split-complementary
#254F90 #903125 #849025
monochromatic
#0C1A2F #18345F #254F90 #326AC1 #5B8BD5

Accessibility & contrast

On white

8.08
#254F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#254F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F90
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F90#FFFFFF#000000##FFFFFF
##254F901.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#1A4B8F
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254f90;
/* rgb */ color: rgb(37, 79, 144);
/* oklch */ color: oklch(43.4% 0.117 259.0);
Tailwind
colors: {
  custom: {
    50: '#6e7fb1',
    500: '#254f90',
    950: '#000000',
  },
}
SCSS
$custom: #254f90;
$custom-light: #6e7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#254f90",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 144
  },
  "hsl": {
    "h": 216.449,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.11725,
    "h": 259
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#254F90
secondary
#B99357
accent
#A545E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254F90

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

Preview Lab → · Contrast checker → · Palette generator →

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