#254083#254083

#254083 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.117 H 264.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#254083
RGBrgb(37, 64, 131)
HSLhsl(223, 56%, 33%)
HSVhsv(223, 72%, 51%)
CMYKcmyk(71.8%, 51.1%, 0%, 48.6%)
CIE-LABlab(28.64, 14.06, -40.78)
CIE-LCHlch(28.64, 43.13, 289.02°)
OKLaboklab(38.98% -0.0104 -0.117)
OKLCHoklch(38.98% 0.117 264.9)
XYZxyz(6.6916, 5.6981, 22.2155)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254083 #836825
analogous
#256F83 #254083 #392583
triadic
#254083 #832540 #408325
tetradic
#254083 #83256F #836825 #258339
square
#254083 #83256F #836825 #258339
split-complementary
#254083 #833925 #6F8325
monochromatic
#0A1124 #182953 #254083 #3257B3 #5477CF

Accessibility & contrast

On white

9.81
#254083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#254083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254083
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254083#FFFFFF#000000##FFFFFF
##2540831.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4885
Deuteranopia (green-blind)
#003F82
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254083;
/* rgb */ color: rgb(37, 64, 131);
/* oklch */ color: oklch(39.0% 0.117 264.9);
Tailwind
colors: {
  custom: {
    50: '#6c74a7',
    500: '#254083',
    950: '#000000',
  },
}
SCSS
$custom: #254083;
$custom-light: #6c74a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254083",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 222.766,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38975,
    "c": 0.11749,
    "h": 264.9
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#254083
secondary
#B39751
accent
#B449DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #254083

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

Preview Lab → · Contrast checker → · Palette generator →

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