#254085#254085

#254085 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.1% C 0.120 H 265.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#254085
RGBrgb(37, 64, 133)
HSLhsl(223, 56%, 33%)
HSVhsv(223, 72%, 52%)
CMYKcmyk(72.2%, 51.9%, 0%, 47.8%)
CIE-LABlab(28.78, 14.84, -41.79)
CIE-LCHlch(28.78, 44.35, 289.55°)
OKLaboklab(39.13% -0.0101 -0.12)
OKLCHoklch(39.13% 0.12 265.2)
XYZxyz(6.8285, 5.7529, 22.9363)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254085 #856A25
analogous
#257085 #254085 #3A2585
triadic
#254085 #852540 #408525
tetradic
#254085 #852570 #856A25 #25853A
square
#254085 #852570 #856A25 #25853A
split-complementary
#254085 #853A25 #708525
monochromatic
#0A1225 #182955 #254085 #3257B5 #5577D0

Accessibility & contrast

On white

9.76
#254085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#254085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254085
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254085#FFFFFF#000000##FFFFFF
##2540851.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174887
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254085;
/* rgb */ color: rgb(37, 64, 133);
/* oklch */ color: oklch(39.1% 0.120 265.2);
Tailwind
colors: {
  custom: {
    50: '#6c74a9',
    500: '#254085',
    950: '#000000',
  },
}
SCSS
$custom: #254085;
$custom-light: #6c74a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254085",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 223.125,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39129,
    "c": 0.12045,
    "h": 265.2
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#254085
secondary
#B49852
accent
#B548E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254085

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

Preview Lab → · Contrast checker → · Palette generator →

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