#254273#254273

#254273 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.091 H 260.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#254273
RGBrgb(37, 66, 115)
HSLhsl(218, 51%, 30%)
HSVhsv(218, 68%, 45%)
CMYKcmyk(67.8%, 42.6%, 0%, 54.9%)
CIE-LABlab(28.19, 6.44, -31.46)
CIE-LCHlch(28.19, 32.12, 281.57°)
OKLaboklab(38.29% -0.0154 -0.0896)
OKLCHoklch(38.29% 0.091 260.3)
XYZxyz(5.8046, 5.5270, 16.9772)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254273 #735625
analogous
#256973 #254273 #2F2573
triadic
#254273 #732542 #427325
tetradic
#254273 #732569 #735625 #25732F
square
#254273 #732569 #735625 #25732F
split-complementary
#254273 #732F25 #697325
monochromatic
#070D17 #162745 #254273 #345DA1 #4D7AC6

Accessibility & contrast

On white

9.97
#254273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#254273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254273
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254273#FFFFFF#000000##FFFFFF
##2542731.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4675
Deuteranopia (green-blind)
#203F72
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #254273;
/* rgb */ color: rgb(37, 66, 115);
/* oklch */ color: oklch(38.3% 0.091 260.3);
Tailwind
colors: {
  custom: {
    50: '#68769b',
    500: '#254273',
    950: '#000000',
  },
}
SCSS
$custom: #254273;
$custom-light: #68769b;
$custom-dark: #000000;
JSON
{
  "hex": "#254273",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 217.692,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.09092,
    "h": 260.3
  },
  "luminance": 0.05528
}

Semantic roles & 50–950 ramp

primary
#254273
secondary
#A6854E
accent
#A64DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254273

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

Preview Lab → · Contrast checker → · Palette generator →

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