#243498#243498

#243498 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.163 H 269.6°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#243498
RGBrgb(36, 52, 152)
HSLhsl(232, 62%, 37%)
HSVhsv(232, 76%, 60%)
CMYKcmyk(76.3%, 65.8%, 0%, 40.4%)
CIE-LABlab(27.01, 30.22, -56.39)
CIE-LCHlch(27.01, 63.98, 298.19°)
OKLaboklab(38.28% -0.001 -0.1631)
OKLCHoklch(38.28% 0.163 269.6)
XYZxyz(7.6211, 5.0972, 30.2819)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243498 #988824
analogous
#246E98 #243498 #4E2498
triadic
#243498 #982434 #349824
tetradic
#243498 #98246E #988824 #24984E
square
#243498 #98246E #988824 #24984E
split-complementary
#243498 #984E24 #6E9824
monochromatic
#0D1235 #182367 #243498 #3045C9 #5E6FD9

Accessibility & contrast

On white

10.40
#243498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#243498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243498
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243498#FFFFFF#000000##FFFFFF
##2434981.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #243498;
/* rgb */ color: rgb(36, 52, 152);
/* oklch */ color: oklch(38.3% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#726bb7',
    500: '#243498',
    950: '#000000',
  },
}
SCSS
$custom: #243498;
$custom-light: #726bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#243498",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 231.724,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38277,
    "c": 0.16308,
    "h": 269.6
  },
  "luminance": 0.05098
}

Semantic roles & 50–950 ramp

primary
#243498
secondary
#BEB05A
accent
#CE43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #243498

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

Preview Lab → · Contrast checker → · Palette generator →

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