#254274#254274

#254274 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.4% C 0.092 H 260.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#254274
RGBrgb(37, 66, 116)
HSLhsl(218, 52%, 30%)
HSVhsv(218, 68%, 45%)
CMYKcmyk(68.1%, 43.1%, 0%, 54.5%)
CIE-LABlab(28.25, 6.83, -32.00)
CIE-LCHlch(28.25, 32.72, 282.05°)
OKLaboklab(38.35% -0.0151 -0.0912)
OKLCHoklch(38.35% 0.092 260.6)
XYZxyz(5.8624, 5.5501, 17.2819)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254274 #745725
analogous
#256974 #254274 #302574
triadic
#254274 #742542 #427425
tetradic
#254274 #742569 #745725 #257430
square
#254274 #742569 #745725 #257430
split-complementary
#254274 #743025 #697425
monochromatic
#070D17 #162846 #254274 #345CA2 #4D7AC6

Accessibility & contrast

On white

9.95
#254274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254274
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254274#FFFFFF#000000##FFFFFF
##2542741.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4776
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254274;
/* rgb */ color: rgb(37, 66, 116);
/* oklch */ color: oklch(38.4% 0.092 260.6);
Tailwind
colors: {
  custom: {
    50: '#69769c',
    500: '#254274',
    950: '#000000',
  },
}
SCSS
$custom: #254274;
$custom-light: #69769c;
$custom-dark: #000000;
JSON
{
  "hex": "#254274",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 217.975,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.38355,
    "c": 0.09243,
    "h": 260.6
  },
  "luminance": 0.05551
}

Semantic roles & 50–950 ramp

primary
#254274
secondary
#A7864E
accent
#A74DDB
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254274

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

Preview Lab → · Contrast checker → · Palette generator →

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