#254697#254697

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

Color values

HEX#254697
RGBrgb(37, 70, 151)
HSLhsl(223, 61%, 37%)
HSVhsv(223, 75%, 59%)
CMYKcmyk(75.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(31.82, 17.79, -47.94)
CIE-LCHlch(31.82, 51.13, 290.35°)
OKLaboklab(41.86% -0.0134 -0.138)
OKLCHoklch(41.86% 0.139 264.4)
XYZxyz(8.5370, 7.0071, 30.1747)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254697 #977625
analogous
#257F97 #254697 #3D2597
triadic
#254697 #972546 #469725
tetradic
#254697 #97257F #977625 #25973D
square
#254697 #97257F #977625 #25973D
split-complementary
#254697 #973D25 #7F9725
monochromatic
#0D1835 #192F66 #254697 #315DC8 #5F82D8

Accessibility & contrast

On white

8.74
#254697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254697
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254697#FFFFFF#000000##FFFFFF
##2546971.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D509A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254697;
/* rgb */ color: rgb(37, 70, 151);
/* oklch */ color: oklch(41.9% 0.139 264.4);
Tailwind
colors: {
  custom: {
    50: '#7078b6',
    500: '#254697',
    950: '#000000',
  },
}
SCSS
$custom: #254697;
$custom-light: #7078b6;
$custom-dark: #000000;
JSON
{
  "hex": "#254697",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 222.632,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.41858,
    "c": 0.13865,
    "h": 264.4
  },
  "luminance": 0.07008
}

Semantic roles & 50–950 ramp

primary
#254697
secondary
#BDA05B
accent
#B644E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #254697

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

Preview Lab → · Contrast checker → · Palette generator →

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