#243178#243178

#243178 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.122 H 270.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#243178
RGBrgb(36, 49, 120)
HSLhsl(231, 54%, 31%)
HSVhsv(231, 70%, 47%)
CMYKcmyk(70%, 59.2%, 0%, 52.9%)
CIE-LABlab(23.43, 20.04, -42.29)
CIE-LCHlch(23.43, 46.79, 295.35°)
OKLaboklab(34.76% 0.0018 -0.1217)
OKLCHoklch(34.76% 0.122 270.8)
XYZxyz(5.2149, 3.9273, 18.2489)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243178 #786B24
analogous
#245B78 #243178 #412478
triadic
#243178 #782431 #317824
tetradic
#243178 #78245B #786B24 #247841
square
#243178 #78245B #786B24 #247841
split-complementary
#243178 #784124 #5B7824
monochromatic
#080B1A #161E49 #243178 #3244A7 #4D60CA

Accessibility & contrast

On white

11.76
#243178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#243178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243178
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243178#FFFFFF#000000##FFFFFF
##2431781.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003477
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #243178;
/* rgb */ color: rgb(36, 49, 120);
/* oklch */ color: oklch(34.8% 0.122 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a68a0',
    500: '#243178',
    950: '#000000',
  },
}
SCSS
$custom: #243178;
$custom-light: #6a68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#243178",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 230.714,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34762,
    "c": 0.12174,
    "h": 270.8
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#243178
secondary
#AB9C4D
accent
#C74BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #243178

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

Preview Lab → · Contrast checker → · Palette generator →

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