#254182#254182

#254182 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.115 H 264.2°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#254182
RGBrgb(37, 65, 130)
HSLhsl(222, 56%, 33%)
HSVhsv(222, 72%, 51%)
CMYKcmyk(71.5%, 50%, 0%, 49%)
CIE-LABlab(28.86, 12.98, -39.79)
CIE-LCHlch(28.86, 41.86, 288.06°)
OKLaboklab(39.12% -0.0115 -0.1141)
OKLCHoklch(39.12% 0.115 264.2)
XYZxyz(6.6811, 5.7849, 21.8793)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254182 #826625
analogous
#257082 #254182 #372582
triadic
#254182 #822541 #418225
tetradic
#254182 #822570 #826625 #258237
square
#254182 #822570 #826625 #258237
split-complementary
#254182 #823725 #708225
monochromatic
#0A1123 #172952 #254182 #3359B2 #5378CE

Accessibility & contrast

On white

9.73
#254182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#254182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254182
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254182#FFFFFF#000000##FFFFFF
##2541821.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4984
Deuteranopia (green-blind)
#054081
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254182;
/* rgb */ color: rgb(37, 65, 130);
/* oklch */ color: oklch(39.1% 0.115 264.2);
Tailwind
colors: {
  custom: {
    50: '#6c75a7',
    500: '#254182',
    950: '#000000',
  },
}
SCSS
$custom: #254182;
$custom-light: #6c75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254182",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 221.935,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39124,
    "c": 0.11469,
    "h": 264.2
  },
  "luminance": 0.05786
}

Semantic roles & 50–950 ramp

primary
#254182
secondary
#B29550
accent
#B249DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254182

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

Preview Lab → · Contrast checker → · Palette generator →

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