#254783#254783

#254783 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.108 H 260.8°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#254783
RGBrgb(37, 71, 131)
HSLhsl(218, 56%, 33%)
HSVhsv(218, 72%, 51%)
CMYKcmyk(71.8%, 45.8%, 0%, 48.6%)
CIE-LABlab(30.73, 9.26, -37.42)
CIE-LCHlch(30.73, 38.55, 283.91°)
OKLaboklab(40.58% -0.0173 -0.107)
OKLCHoklch(40.58% 0.108 260.8)
XYZxyz(7.1115, 6.5378, 22.3555)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254783 #836125
analogous
#257683 #254783 #322583
triadic
#254783 #832547 #478325
tetradic
#254783 #832576 #836125 #258332
square
#254783 #832576 #836125 #258332
split-complementary
#254783 #833225 #768325
monochromatic
#0A1324 #182D53 #254783 #3261B3 #5480CF

Accessibility & contrast

On white

9.10
#254783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#254783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254783
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254783#FFFFFF#000000##FFFFFF
##2547831.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D85
Deuteranopia (green-blind)
#184482
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254783;
/* rgb */ color: rgb(37, 71, 131);
/* oklch */ color: oklch(40.6% 0.108 260.8);
Tailwind
colors: {
  custom: {
    50: '#6c79a7',
    500: '#254783',
    950: '#000000',
  },
}
SCSS
$custom: #254783;
$custom-light: #6c79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254783",
  "rgb": {
    "r": 37,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 218.298,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40579,
    "c": 0.1084,
    "h": 260.8
  },
  "luminance": 0.06538
}

Semantic roles & 50–950 ramp

primary
#254783
secondary
#B38F51
accent
#A949DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254783

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

Preview Lab → · Contrast checker → · Palette generator →

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