#254295#254295

#254295 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.8% C 0.141 H 265.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#254295
RGBrgb(37, 66, 149)
HSLhsl(224, 60%, 36%)
HSVhsv(224, 75%, 58%)
CMYKcmyk(75.2%, 55.7%, 0%, 41.6%)
CIE-LABlab(30.54, 19.73, -48.80)
CIE-LCHlch(30.54, 52.64, 292.01°)
OKLaboklab(40.84% -0.0103 -0.1406)
OKLCHoklch(40.84% 0.141 265.8)
XYZxyz(8.1341, 6.4588, 29.2459)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254295 #957825
analogous
#257A95 #254295 #402595
triadic
#254295 #952542 #429525
tetradic
#254295 #95257A #957825 #259540
square
#254295 #95257A #957825 #259540
split-complementary
#254295 #954025 #7A9525
monochromatic
#0D1733 #192C64 #254295 #3158C6 #5E7DD7

Accessibility & contrast

On white

9.16
#254295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#254295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254295
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254295#FFFFFF#000000##FFFFFF
##2542951.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#004393
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254295;
/* rgb */ color: rgb(37, 66, 149);
/* oklch */ color: oklch(40.8% 0.141 265.8);
Tailwind
colors: {
  custom: {
    50: '#7075b5',
    500: '#254295',
    950: '#000000',
  },
}
SCSS
$custom: #254295;
$custom-light: #7075b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254295",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 149
  },
  "hsl": {
    "h": 224.464,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40841,
    "c": 0.14097,
    "h": 265.8
  },
  "luminance": 0.0646
}

Semantic roles & 50–950 ramp

primary
#254295
secondary
#BCA25A
accent
#BA44E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #254295

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

Preview Lab → · Contrast checker → · Palette generator →

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