#243798#243798

#243798 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.159 H 268.9°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#243798
RGBrgb(36, 55, 152)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(76.3%, 63.8%, 0%, 40.4%)
CIE-LABlab(27.77, 28.22, -55.14)
CIE-LCHlch(27.77, 61.95, 297.10°)
OKLaboklab(38.84% -0.003 -0.1594)
OKLCHoklch(38.84% 0.159 268.9)
XYZxyz(7.7593, 5.3736, 30.3280)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243798 #988524
analogous
#247198 #243798 #4B2498
triadic
#243798 #982437 #379824
tetradic
#243798 #982471 #988524 #24984B
square
#243798 #982471 #988524 #24984B
split-complementary
#243798 #984B24 #719824
monochromatic
#0D1335 #182567 #243798 #3049C9 #5E72D9

Accessibility & contrast

On white

10.12
#243798 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#243798 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243798
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243798#FFFFFF#000000##FFFFFF
##2437981.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #243798;
/* rgb */ color: rgb(36, 55, 152);
/* oklch */ color: oklch(38.8% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#716db7',
    500: '#243798',
    950: '#000000',
  },
}
SCSS
$custom: #243798;
$custom-light: #716db7;
$custom-dark: #000000;
JSON
{
  "hex": "#243798",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 230.172,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38839,
    "c": 0.15942,
    "h": 268.9
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#243798
secondary
#BEAD5A
accent
#CA43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243798

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

Preview Lab → · Contrast checker → · Palette generator →

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