#242683#242683

#242683 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.151 H 273.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#242683
RGBrgb(36, 38, 131)
HSLhsl(239, 57%, 33%)
HSVhsv(239, 73%, 51%)
CMYKcmyk(72.5%, 71%, 0%, 48.6%)
CIE-LABlab(21.58, 31.61, -52.27)
CIE-LCHlch(21.58, 61.09, 301.16°)
OKLaboklab(33.71% 0.01 -0.1511)
OKLCHoklch(33.71% 0.151 273.8)
XYZxyz(5.5160, 3.3995, 21.8338)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242683 #838124
analogous
#245583 #242683 #522483
triadic
#242683 #832426 #268324
tetradic
#242683 #832455 #838124 #248352
square
#242683 #832455 #838124 #248352
split-complementary
#242683 #835224 #558324
monochromatic
#0A0A23 #171853 #242683 #3134B3 #5255CF

Accessibility & contrast

On white

12.50
#242683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#242683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242683
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242683#FFFFFF#000000##FFFFFF
##2426831.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242683;
/* rgb */ color: rgb(36, 38, 131);
/* oklch */ color: oklch(33.7% 0.151 273.8);
Tailwind
colors: {
  custom: {
    50: '#6e61a8',
    500: '#242683',
    950: '#000000',
  },
}
SCSS
$custom: #242683;
$custom-light: #6e61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242683",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 238.737,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.15143,
    "h": 273.8
  },
  "luminance": 0.034
}

Semantic roles & 50–950 ramp

primary
#242683
secondary
#B3B14F
accent
#DD48E0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242683

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

Preview Lab → · Contrast checker → · Palette generator →

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