#243179#243179

#243179 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.123 H 270.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#243179
RGBrgb(36, 49, 121)
HSLhsl(231, 54%, 31%)
HSVhsv(231, 70%, 47%)
CMYKcmyk(70.2%, 59.5%, 0%, 52.5%)
CIE-LABlab(23.51, 20.43, -42.79)
CIE-LCHlch(23.51, 47.42, 295.52°)
OKLaboklab(34.85% 0.0018 -0.1232)
OKLCHoklch(34.85% 0.123 270.9)
XYZxyz(5.2759, 3.9517, 18.5702)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243179 #796C24
analogous
#245B79 #243179 #422479
triadic
#243179 #792431 #317924
tetradic
#243179 #79245B #796C24 #247942
square
#243179 #79245B #796C24 #247942
split-complementary
#243179 #794224 #5B7924
monochromatic
#080B1B #161E4A #243179 #3244A8 #4D60CA

Accessibility & contrast

On white

11.73
#243179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #243179
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243179#FFFFFF#000000##FFFFFF
##2431791.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #243179;
/* rgb */ color: rgb(36, 49, 121);
/* oklch */ color: oklch(34.8% 0.123 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a68a0',
    500: '#243179',
    950: '#000000',
  },
}
SCSS
$custom: #243179;
$custom-light: #6a68a0;
$custom-dark: #000000;
JSON
{
  "hex": "#243179",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 121
  },
  "hsl": {
    "h": 230.824,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34849,
    "c": 0.12321,
    "h": 270.9
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#243179
secondary
#AC9D4D
accent
#C74ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #243179

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

Preview Lab → · Contrast checker → · Palette generator →

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