#243399#243399

#243399 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.166 H 269.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#243399
RGBrgb(36, 51, 153)
HSLhsl(232, 62%, 37%)
HSVhsv(232, 76%, 60%)
CMYKcmyk(76.5%, 66.7%, 0%, 40%)
CIE-LABlab(26.85, 31.25, -57.26)
CIE-LCHlch(26.85, 65.23, 298.63°)
OKLaboklab(38.19% -0.0005 -0.1656)
OKLCHoklch(38.19% 0.166 269.8)
XYZxyz(7.6592, 5.0418, 30.7003)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243399 #998A24
analogous
#246D99 #243399 #502499
triadic
#243399 #992433 #339924
tetradic
#243399 #99246D #998A24 #249950
square
#243399 #99246D #998A24 #249950
split-complementary
#243399 #995024 #6D9924
monochromatic
#0D1236 #182267 #243399 #3044CB #5E6ED9

Accessibility & contrast

On white

10.46
#243399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#243399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243399
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243399#FFFFFF#000000##FFFFFF
##2433991.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003A97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #243399;
/* rgb */ color: rgb(36, 51, 153);
/* oklch */ color: oklch(38.2% 0.166 269.8);
Tailwind
colors: {
  custom: {
    50: '#726ab8',
    500: '#243399',
    950: '#000000',
  },
}
SCSS
$custom: #243399;
$custom-light: #726ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#243399",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 232.308,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38191,
    "c": 0.16563,
    "h": 269.8
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#243399
secondary
#BEB15B
accent
#D043E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #243399

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

Preview Lab → · Contrast checker → · Palette generator →

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