#243794#243794

#243794 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.154 H 268.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#243794
RGBrgb(36, 55, 148)
HSLhsl(230, 61%, 36%)
HSVhsv(230, 76%, 58%)
CMYKcmyk(75.7%, 62.8%, 0%, 42%)
CIE-LABlab(27.42, 26.70, -53.27)
CIE-LCHlch(27.42, 59.58, 296.62°)
OKLaboklab(38.47% -0.0029 -0.1539)
OKLCHoklch(38.47% 0.154 268.9)
XYZxyz(7.4372, 5.2448, 28.6316)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243794 #948124
analogous
#246F94 #243794 #492494
triadic
#243794 #942437 #379424
tetradic
#243794 #94246F #948124 #249449
square
#243794 #94246F #948124 #249449
split-complementary
#243794 #944924 #6F9424
monochromatic
#0C1232 #182563 #243794 #3049C5 #5B70D7

Accessibility & contrast

On white

10.25
#243794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#243794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243794
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243794#FFFFFF#000000##FFFFFF
##2437941.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #243794;
/* rgb */ color: rgb(36, 55, 148);
/* oklch */ color: oklch(38.5% 0.154 268.9);
Tailwind
colors: {
  custom: {
    50: '#706db4',
    500: '#243794',
    950: '#000000',
  },
}
SCSS
$custom: #243794;
$custom-light: #706db4;
$custom-dark: #000000;
JSON
{
  "hex": "#243794",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 229.821,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.15393,
    "h": 268.9
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#243794
secondary
#BCAB58
accent
#C944E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243794

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

Preview Lab → · Contrast checker → · Palette generator →

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