#254694#254694

#254694 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.134 H 264.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#254694
RGBrgb(37, 70, 148)
HSLhsl(222, 60%, 36%)
HSVhsv(222, 75%, 58%)
CMYKcmyk(75%, 52.7%, 0%, 42%)
CIE-LABlab(31.60, 16.61, -46.47)
CIE-LCHlch(31.60, 49.35, 289.67°)
OKLaboklab(41.62% -0.0137 -0.1337)
OKLCHoklch(41.62% 0.134 264.1)
XYZxyz(8.2965, 6.9109, 28.9079)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254694 #947325
analogous
#257E94 #254694 #3C2594
triadic
#254694 #942546 #469425
tetradic
#254694 #94257E #947325 #25943C
square
#254694 #94257E #947325 #25943C
split-complementary
#254694 #943C25 #7E9425
monochromatic
#0D1832 #192F63 #254694 #315DC5 #5D81D6

Accessibility & contrast

On white

8.81
#254694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254694
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254694#FFFFFF#000000##FFFFFF
##2546941.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254694;
/* rgb */ color: rgb(37, 70, 148);
/* oklch */ color: oklch(41.6% 0.134 264.1);
Tailwind
colors: {
  custom: {
    50: '#7078b4',
    500: '#254694',
    950: '#000000',
  },
}
SCSS
$custom: #254694;
$custom-light: #7078b4;
$custom-dark: #000000;
JSON
{
  "hex": "#254694",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 148
  },
  "hsl": {
    "h": 222.162,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41621,
    "c": 0.13437,
    "h": 264.1
  },
  "luminance": 0.06912
}

Semantic roles & 50–950 ramp

primary
#254694
secondary
#BB9E59
accent
#B445E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254694

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

Preview Lab → · Contrast checker → · Palette generator →

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