#254A96#254A96

#254A96 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.132 H 262.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#254A96
RGBrgb(37, 74, 150)
HSLhsl(220, 60%, 37%)
HSVhsv(220, 75%, 59%)
CMYKcmyk(75.3%, 50.7%, 0%, 41.2%)
CIE-LABlab(32.90, 14.68, -45.59)
CIE-LCHlch(32.90, 47.90, 287.85°)
OKLaboklab(42.66% -0.0169 -0.131)
OKLCHoklch(42.66% 0.132 262.6)
XYZxyz(8.7148, 7.4919, 29.8350)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A96 #967125
analogous
#258396 #254A96 #392596
triadic
#254A96 #96254A #4A9625
tetradic
#254A96 #962583 #967125 #259639
square
#254A96 #962583 #967125 #259639
split-complementary
#254A96 #963925 #839625
monochromatic
#0D1A34 #193265 #254A96 #3162C7 #5E86D7

Accessibility & contrast

On white

8.40
#254A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#254A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A96
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A96#FFFFFF#000000##FFFFFF
##254A961.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254a96;
/* rgb */ color: rgb(37, 74, 150);
/* oklch */ color: oklch(42.7% 0.132 262.6);
Tailwind
colors: {
  custom: {
    50: '#707cb5',
    500: '#254a96',
    950: '#000000',
  },
}
SCSS
$custom: #254a96;
$custom-light: #707cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#254a96",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 220.354,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42656,
    "c": 0.1321,
    "h": 262.6
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#254A96
secondary
#BC9C5B
accent
#AF44E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254A96

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

Preview Lab → · Contrast checker → · Palette generator →

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