#254A94#254A94

#254A94 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.129 H 262.4°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#254A94
RGBrgb(37, 74, 148)
HSLhsl(220, 60%, 36%)
HSVhsv(220, 75%, 58%)
CMYKcmyk(75%, 50%, 0%, 42%)
CIE-LABlab(32.76, 13.90, -44.60)
CIE-LCHlch(32.76, 46.71, 287.31°)
OKLaboklab(42.51% -0.0172 -0.1281)
OKLCHoklch(42.51% 0.129 262.4)
XYZxyz(8.5551, 7.4281, 28.9941)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A94 #946F25
analogous
#258294 #254A94 #382594
triadic
#254A94 #94254A #4A9425
tetradic
#254A94 #942582 #946F25 #259438
square
#254A94 #942582 #946F25 #259438
split-complementary
#254A94 #943825 #829425
monochromatic
#0D1932 #193263 #254A94 #3162C5 #5D85D6

Accessibility & contrast

On white

8.45
#254A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#254A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A94
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A94#FFFFFF#000000##FFFFFF
##254A941.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205297
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254a94;
/* rgb */ color: rgb(37, 74, 148);
/* oklch */ color: oklch(42.5% 0.129 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7cb4',
    500: '#254a94',
    950: '#000000',
  },
}
SCSS
$custom: #254a94;
$custom-light: #6f7cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#254a94",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.12924,
    "h": 262.4
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254A94

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

Preview Lab → · Contrast checker → · Palette generator →

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