#243786#243786

#243786 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.134 H 268.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#243786
RGBrgb(36, 55, 134)
HSLhsl(228, 58%, 33%)
HSVhsv(228, 73%, 53%)
CMYKcmyk(73.1%, 59%, 0%, 47.5%)
CIE-LABlab(26.24, 21.30, -46.53)
CIE-LCHlch(26.24, 51.18, 294.60°)
OKLaboklab(37.22% -0.003 -0.1341)
OKLCHoklch(37.22% 0.134 268.7)
XYZxyz(6.3953, 4.8280, 23.1445)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243786 #867324
analogous
#246886 #243786 #422486
triadic
#243786 #862437 #378624
tetradic
#243786 #862468 #867324 #248642
square
#243786 #862468 #867324 #248642
split-complementary
#243786 #864224 #688624
monochromatic
#0A0F26 #172356 #243786 #314BB6 #536CD1

Accessibility & contrast

On white

10.68
#243786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#243786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243786
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243786#FFFFFF#000000##FFFFFF
##2437861.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #243786;
/* rgb */ color: rgb(36, 55, 134);
/* oklch */ color: oklch(37.2% 0.134 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d6daa',
    500: '#243786',
    950: '#000000',
  },
}
SCSS
$custom: #243786;
$custom-light: #6d6daa;
$custom-dark: #000000;
JSON
{
  "hex": "#243786",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 228.367,
    "s": 57.647,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37221,
    "c": 0.13416,
    "h": 268.7
  },
  "luminance": 0.04829
}

Semantic roles & 50–950 ramp

primary
#243786
secondary
#B5A251
accent
#C347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #243786

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

Preview Lab → · Contrast checker → · Palette generator →

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