#254683#254683

#254683 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.110 H 261.5°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#254683
RGBrgb(37, 70, 131)
HSLhsl(219, 56%, 33%)
HSVhsv(219, 72%, 51%)
CMYKcmyk(71.8%, 46.6%, 0%, 48.6%)
CIE-LABlab(30.43, 9.94, -37.90)
CIE-LCHlch(30.43, 39.19, 284.70°)
OKLaboklab(40.35% -0.0162 -0.1085)
OKLCHoklch(40.35% 0.11 261.5)
XYZxyz(7.0484, 6.4116, 22.3344)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254683 #836225
analogous
#257583 #254683 #332583
triadic
#254683 #832546 #468325
tetradic
#254683 #832575 #836225 #258333
square
#254683 #832575 #836225 #258333
split-complementary
#254683 #833325 #758325
monochromatic
#0A1324 #182C53 #254683 #3260B3 #547FCF

Accessibility & contrast

On white

9.20
#254683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#254683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254683
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254683#FFFFFF#000000##FFFFFF
##2546831.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284C85
Deuteranopia (green-blind)
#164482
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254683;
/* rgb */ color: rgb(37, 70, 131);
/* oklch */ color: oklch(40.3% 0.110 261.5);
Tailwind
colors: {
  custom: {
    50: '#6c79a7',
    500: '#254683',
    950: '#000000',
  },
}
SCSS
$custom: #254683;
$custom-light: #6c79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254683",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 131
  },
  "hsl": {
    "h": 218.936,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.10967,
    "h": 261.5
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#254683
secondary
#B39051
accent
#AA49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254683

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

Preview Lab → · Contrast checker → · Palette generator →

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