#243078#243078

#243078 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.123 H 271.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#243078
RGBrgb(36, 48, 120)
HSLhsl(231, 54%, 31%)
HSVhsv(231, 70%, 47%)
CMYKcmyk(70%, 60%, 0%, 52.9%)
CIE-LABlab(23.15, 20.74, -42.74)
CIE-LCHlch(23.15, 47.50, 295.88°)
OKLaboklab(34.55% 0.0027 -0.1231)
OKLCHoklch(34.55% 0.123 271.3)
XYZxyz(5.1735, 3.8446, 18.2351)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243078 #786C24
analogous
#245A78 #243078 #422478
triadic
#243078 #782430 #307824
tetradic
#243078 #78245A #786C24 #247842
square
#243078 #78245A #786C24 #247842
split-complementary
#243078 #784224 #5A7824
monochromatic
#080A1A #161D49 #243078 #3243A7 #4D5FCA

Accessibility & contrast

On white

11.87
#243078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#243078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243078
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243078#FFFFFF#000000##FFFFFF
##2430781.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #243078;
/* rgb */ color: rgb(36, 48, 120);
/* oklch */ color: oklch(34.6% 0.123 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a0',
    500: '#243078',
    950: '#000000',
  },
}
SCSS
$custom: #243078;
$custom-light: #6a68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#243078",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 231.429,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34554,
    "c": 0.1231,
    "h": 271.3
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#243078
secondary
#AB9D4D
accent
#C84BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #243078

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

Preview Lab → · Contrast checker → · Palette generator →

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