#254A85#254A85

#254A85 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.108 H 259.4°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#254A85
RGBrgb(37, 74, 133)
HSLhsl(217, 56%, 33%)
HSVhsv(217, 72%, 52%)
CMYKcmyk(72.2%, 44.4%, 0%, 47.8%)
CIE-LABlab(31.77, 8.02, -36.99)
CIE-LCHlch(31.77, 37.85, 282.23°)
OKLaboklab(41.42% -0.0198 -0.1057)
OKLCHoklch(41.42% 0.108 259.4)
XYZxyz(7.4438, 6.9835, 23.1414)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A85 #856025
analogous
#257A85 #254A85 #302585
triadic
#254A85 #85254A #4A8525
tetradic
#254A85 #85257A #856025 #258530
square
#254A85 #85257A #856025 #258530
split-complementary
#254A85 #853025 #7A8525
monochromatic
#0A1525 #182F55 #254A85 #3265B5 #5584D0

Accessibility & contrast

On white

8.76
#254A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#254A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A85
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A85#FFFFFF#000000##FFFFFF
##254A851.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254a85;
/* rgb */ color: rgb(37, 74, 133);
/* oklch */ color: oklch(41.4% 0.108 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7ca9',
    500: '#254a85',
    950: '#000000',
  },
}
SCSS
$custom: #254a85;
$custom-light: #6c7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#254a85",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 133
  },
  "hsl": {
    "h": 216.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41422,
    "c": 0.10757,
    "h": 259.4
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#254A85
secondary
#B48E52
accent
#A548E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254A85

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

Preview Lab → · Contrast checker → · Palette generator →

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