#243278#243278

#243278 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.120 H 270.4°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#243278
RGBrgb(36, 50, 120)
HSLhsl(230, 54%, 31%)
HSVhsv(230, 70%, 47%)
CMYKcmyk(70%, 58.3%, 0%, 52.9%)
CIE-LABlab(23.71, 19.34, -41.83)
CIE-LCHlch(23.71, 46.09, 294.81°)
OKLaboklab(34.97% 0.0009 -0.1204)
OKLCHoklch(34.97% 0.12 270.4)
XYZxyz(5.2572, 4.0118, 18.2630)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243278 #786A24
analogous
#245C78 #243278 #402478
triadic
#243278 #782432 #327824
tetradic
#243278 #78245C #786A24 #247840
square
#243278 #78245C #786A24 #247840
split-complementary
#243278 #784024 #5C7824
monochromatic
#080B1A #161E49 #243278 #3246A7 #4D62CA

Accessibility & contrast

On white

11.65
#243278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#243278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243278
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243278#FFFFFF#000000##FFFFFF
##2432781.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #243278;
/* rgb */ color: rgb(36, 50, 120);
/* oklch */ color: oklch(35.0% 0.120 270.4);
Tailwind
colors: {
  custom: {
    50: '#6a69a0',
    500: '#243278',
    950: '#000000',
  },
}
SCSS
$custom: #243278;
$custom-light: #6a69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#243278",
  "rgb": {
    "r": 36,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 230,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34972,
    "c": 0.12037,
    "h": 270.4
  },
  "luminance": 0.04012
}

Semantic roles & 50–950 ramp

primary
#243278
secondary
#AB9B4D
accent
#C54BDD
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #243278

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

Preview Lab → · Contrast checker → · Palette generator →

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