#254095#254095

#254095 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.144 H 266.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#254095
RGBrgb(37, 64, 149)
HSLhsl(226, 60%, 36%)
HSVhsv(226, 75%, 58%)
CMYKcmyk(75.2%, 57%, 0%, 41.6%)
CIE-LABlab(29.98, 21.09, -49.70)
CIE-LCHlch(29.98, 53.99, 293.00°)
OKLaboklab(40.42% -0.0087 -0.1433)
OKLCHoklch(40.42% 0.144 266.5)
XYZxyz(8.0193, 6.2292, 29.2077)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254095 #957A25
analogous
#257895 #254095 #422595
triadic
#254095 #952540 #409525
tetradic
#254095 #952578 #957A25 #259542
square
#254095 #952578 #957A25 #259542
split-complementary
#254095 #954225 #789525
monochromatic
#0D1633 #192B64 #254095 #3155C6 #5E7BD7

Accessibility & contrast

On white

9.35
#254095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#254095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254095
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254095#FFFFFF#000000##FFFFFF
##2540951.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254095;
/* rgb */ color: rgb(37, 64, 149);
/* oklch */ color: oklch(40.4% 0.144 266.5);
Tailwind
colors: {
  custom: {
    50: '#7074b5',
    500: '#254095',
    950: '#000000',
  },
}
SCSS
$custom: #254095;
$custom-light: #7074b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254095",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 225.536,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.14355,
    "h": 266.5
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#254095
secondary
#BCA45A
accent
#BD44E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254095

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

Preview Lab → · Contrast checker → · Palette generator →

#254095 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva