#254283#254283

#254283 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.115 H 263.8°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#254283
RGBrgb(37, 66, 131)
HSLhsl(221, 56%, 33%)
HSVhsv(221, 72%, 51%)
CMYKcmyk(71.8%, 49.6%, 0%, 48.6%)
CIE-LABlab(29.23, 12.68, -39.83)
CIE-LCHlch(29.23, 41.80, 287.66°)
OKLaboklab(39.43% -0.0123 -0.1142)
OKLCHoklch(39.43% 0.115 263.8)
XYZxyz(6.8065, 5.9277, 22.2538)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254283 #836625
analogous
#257183 #254283 #372583
triadic
#254283 #832542 #428325
tetradic
#254283 #832571 #836625 #258337
square
#254283 #832571 #836625 #258337
split-complementary
#254283 #833725 #718325
monochromatic
#0A1224 #182A53 #254283 #325AB3 #547ACF

Accessibility & contrast

On white

9.61
#254283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#254283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254283
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254283#FFFFFF#000000##FFFFFF
##2542831.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#064182
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254283;
/* rgb */ color: rgb(37, 66, 131);
/* oklch */ color: oklch(39.4% 0.115 263.8);
Tailwind
colors: {
  custom: {
    50: '#6c75a7',
    500: '#254283',
    950: '#000000',
  },
}
SCSS
$custom: #254283;
$custom-light: #6c75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254283",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 221.489,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.11485,
    "h": 263.8
  },
  "luminance": 0.05928
}

Semantic roles & 50–950 ramp

primary
#254283
secondary
#B39551
accent
#B149DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #254283

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

Preview Lab → · Contrast checker → · Palette generator →

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