#254A93#254A93

#254A93 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.128 H 262.2°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#254A93
RGBrgb(37, 74, 147)
HSLhsl(220, 60%, 36%)
HSVhsv(220, 75%, 58%)
CMYKcmyk(74.8%, 49.7%, 0%, 42.4%)
CIE-LABlab(32.69, 13.50, -44.10)
CIE-LCHlch(32.69, 46.12, 287.03°)
OKLaboklab(42.43% -0.0173 -0.1266)
OKLCHoklch(42.43% 0.128 262.2)
XYZxyz(8.4763, 7.3965, 28.5791)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A93 #936E25
analogous
#258193 #254A93 #372593
triadic
#254A93 #93254A #4A9325
tetradic
#254A93 #932581 #936E25 #259337
square
#254A93 #932581 #936E25 #259337
split-complementary
#254A93 #933725 #819325
monochromatic
#0C1931 #193162 #254A93 #3163C4 #5C85D6

Accessibility & contrast

On white

8.47
#254A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#254A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A93
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A93#FFFFFF#000000##FFFFFF
##254A931.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#004892
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254a93;
/* rgb */ color: rgb(37, 74, 147);
/* oklch */ color: oklch(42.4% 0.128 262.2);
Tailwind
colors: {
  custom: {
    50: '#6f7cb3',
    500: '#254a93',
    950: '#000000',
  },
}
SCSS
$custom: #254a93;
$custom-light: #6f7cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#254a93",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 147
  },
  "hsl": {
    "h": 219.818,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.1278,
    "h": 262.2
  },
  "luminance": 0.07397
}

Semantic roles & 50–950 ramp

primary
#254A93
secondary
#BB9A59
accent
#AE45E3
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254A93

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

Preview Lab → · Contrast checker → · Palette generator →

#254A93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva