#254183#254183

#254183 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.2% C 0.116 H 264.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#254183
RGBrgb(37, 65, 131)
HSLhsl(222, 56%, 33%)
HSVhsv(222, 72%, 51%)
CMYKcmyk(71.8%, 50.4%, 0%, 48.6%)
CIE-LABlab(28.93, 13.37, -40.30)
CIE-LCHlch(28.93, 42.46, 288.35°)
OKLaboklab(39.2% -0.0114 -0.1156)
OKLCHoklch(39.2% 0.116 264.4)
XYZxyz(6.7485, 5.8119, 22.2345)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254183 #836725
analogous
#257083 #254183 #382583
triadic
#254183 #832541 #418325
tetradic
#254183 #832570 #836725 #258338
square
#254183 #832570 #836725 #258338
split-complementary
#254183 #833825 #708325
monochromatic
#0A1224 #182953 #254183 #3259B3 #5478CF

Accessibility & contrast

On white

9.71
#254183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254183
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254183#FFFFFF#000000##FFFFFF
##2541831.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4985
Deuteranopia (green-blind)
#024082
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254183;
/* rgb */ color: rgb(37, 65, 131);
/* oklch */ color: oklch(39.2% 0.116 264.4);
Tailwind
colors: {
  custom: {
    50: '#6c75a7',
    500: '#254183',
    950: '#000000',
  },
}
SCSS
$custom: #254183;
$custom-light: #6c75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254183",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 222.128,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.392,
    "c": 0.11617,
    "h": 264.4
  },
  "luminance": 0.05813
}

Semantic roles & 50–950 ramp

primary
#254183
secondary
#B39651
accent
#B249DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #254183

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

Preview Lab → · Contrast checker → · Palette generator →

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