#243898#243898

#243898 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.158 H 268.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#243898
RGBrgb(36, 56, 152)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(76.3%, 63.2%, 0%, 40.4%)
CIE-LABlab(28.03, 27.55, -54.72)
CIE-LCHlch(28.03, 61.26, 296.73°)
OKLaboklab(39.03% -0.0037 -0.1581)
OKLCHoklch(39.03% 0.158 268.7)
XYZxyz(7.8073, 5.4696, 30.3439)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243898 #988424
analogous
#247298 #243898 #4A2498
triadic
#243898 #982438 #389824
tetradic
#243898 #982472 #988424 #24984A
square
#243898 #982472 #988424 #24984A
split-complementary
#243898 #984A24 #729824
monochromatic
#0D1435 #182667 #243898 #304AC9 #5E73D9

Accessibility & contrast

On white

10.03
#243898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#243898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243898
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243898#FFFFFF#000000##FFFFFF
##2438981.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #243898;
/* rgb */ color: rgb(36, 56, 152);
/* oklch */ color: oklch(39.0% 0.158 268.7);
Tailwind
colors: {
  custom: {
    50: '#716eb7',
    500: '#243898',
    950: '#000000',
  },
}
SCSS
$custom: #243898;
$custom-light: #716eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#243898",
  "rgb": {
    "r": 36,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 229.655,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3903,
    "c": 0.15818,
    "h": 268.7
  },
  "luminance": 0.0547
}

Semantic roles & 50–950 ramp

primary
#243898
secondary
#BEAC5A
accent
#C943E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243898

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

Preview Lab → · Contrast checker → · Palette generator →

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