#244798#244798

#244798 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.139 H 263.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#244798
RGBrgb(36, 71, 152)
HSLhsl(222, 62%, 37%)
HSVhsv(222, 76%, 60%)
CMYKcmyk(76.3%, 53.3%, 0%, 40.4%)
CIE-LABlab(32.14, 17.37, -48.04)
CIE-LCHlch(32.14, 51.08, 289.88°)
OKLaboklab(42.11% -0.0149 -0.1383)
OKLCHoklch(42.11% 0.139 263.8)
XYZxyz(8.6463, 7.1476, 30.6236)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#244798 #987524
analogous
#248198 #244798 #3B2498
triadic
#244798 #982447 #479824
tetradic
#244798 #982481 #987524 #24983B
square
#244798 #982481 #987524 #24983B
split-complementary
#244798 #983B24 #819824
monochromatic
#0D1935 #183067 #244798 #305EC9 #5E83D9

Accessibility & contrast

On white

8.64
#244798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#244798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #244798
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##244798#FFFFFF#000000##FFFFFF
##2447981.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F519B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #244798;
/* rgb */ color: rgb(36, 71, 152);
/* oklch */ color: oklch(42.1% 0.139 263.8);
Tailwind
colors: {
  custom: {
    50: '#7079b7',
    500: '#244798',
    950: '#000000',
  },
}
SCSS
$custom: #244798;
$custom-light: #7079b7;
$custom-dark: #000000;
JSON
{
  "hex": "#244798",
  "rgb": {
    "r": 36,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 221.897,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.13908,
    "h": 263.8
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#244798
secondary
#BEA05A
accent
#B443E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #244798

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

Preview Lab → · Contrast checker → · Palette generator →

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