#254696#254696

#254696 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.137 H 264.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#254696
RGBrgb(37, 70, 150)
HSLhsl(222, 60%, 37%)
HSVhsv(222, 75%, 59%)
CMYKcmyk(75.3%, 53.3%, 0%, 41.2%)
CIE-LABlab(31.75, 17.40, -47.45)
CIE-LCHlch(31.75, 50.54, 290.13°)
OKLaboklab(41.78% -0.0135 -0.1366)
OKLCHoklch(41.78% 0.137 264.4)
XYZxyz(8.4562, 6.9747, 29.7488)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254696 #967525
analogous
#257F96 #254696 #3D2596
triadic
#254696 #962546 #469625
tetradic
#254696 #96257F #967525 #25963D
square
#254696 #96257F #967525 #25963D
split-complementary
#254696 #963D25 #7F9625
monochromatic
#0D1834 #192F65 #254696 #315DC7 #5E81D7

Accessibility & contrast

On white

8.77
#254696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#254696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254696
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254696#FFFFFF#000000##FFFFFF
##2546961.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#004694
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254696;
/* rgb */ color: rgb(37, 70, 150);
/* oklch */ color: oklch(41.8% 0.137 264.4);
Tailwind
colors: {
  custom: {
    50: '#7078b5',
    500: '#254696',
    950: '#000000',
  },
}
SCSS
$custom: #254696;
$custom-light: #7078b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254696",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 222.478,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41779,
    "c": 0.13723,
    "h": 264.4
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#254696
secondary
#BCA05B
accent
#B544E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #254696

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

Preview Lab → · Contrast checker → · Palette generator →

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