#254695#254695

#254695 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.136 H 264.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#254695
RGBrgb(37, 70, 149)
HSLhsl(222, 60%, 36%)
HSVhsv(222, 75%, 58%)
CMYKcmyk(75.2%, 53%, 0%, 41.6%)
CIE-LABlab(31.68, 17.00, -46.96)
CIE-LCHlch(31.68, 49.94, 289.90°)
OKLaboklab(41.7% -0.0136 -0.1351)
OKLCHoklch(41.7% 0.136 264.2)
XYZxyz(8.3760, 6.9426, 29.3266)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254695 #957425
analogous
#257E95 #254695 #3C2595
triadic
#254695 #952546 #469525
tetradic
#254695 #95257E #957425 #25953C
square
#254695 #95257E #957425 #25953C
split-complementary
#254695 #953C25 #7E9525
monochromatic
#0D1833 #192F64 #254695 #315DC6 #5E81D7

Accessibility & contrast

On white

8.79
#254695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#254695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254695
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254695#FFFFFF#000000##FFFFFF
##2546951.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005966
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254695;
/* rgb */ color: rgb(37, 70, 149);
/* oklch */ color: oklch(41.7% 0.136 264.2);
Tailwind
colors: {
  custom: {
    50: '#7078b5',
    500: '#254695',
    950: '#000000',
  },
}
SCSS
$custom: #254695;
$custom-light: #7078b5;
$custom-dark: #000000;
JSON
{
  "hex": "#254695",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 149
  },
  "hsl": {
    "h": 222.321,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.417,
    "c": 0.13579,
    "h": 264.2
  },
  "luminance": 0.06944
}

Semantic roles & 50–950 ramp

primary
#254695
secondary
#BC9F5A
accent
#B544E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254695

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

Preview Lab → · Contrast checker → · Palette generator →

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