#242B68#242B68

#242B68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.106 H 273.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#242B68
RGBrgb(36, 43, 104)
HSLhsl(234, 49%, 27%)
HSVhsv(234, 65%, 41%)
CMYKcmyk(65.4%, 58.7%, 0%, 59.2%)
CIE-LABlab(20.45, 18.10, -36.83)
CIE-LCHlch(20.45, 41.04, 296.17°)
OKLaboklab(32.13% 0.0072 -0.1058)
OKLCHoklch(32.13% 0.106 273.9)
XYZxyz(4.0893, 3.1020, 13.4773)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B68 #686124
analogous
#244D68 #242B68 #3F2468
triadic
#242B68 #68242B #2B6824
tetradic
#242B68 #68244D #686124 #24683F
square
#242B68 #68244D #686124 #24683F
split-complementary
#242B68 #683F24 #4D6824
monochromatic
#080917 #14183B #242B68 #343E95 #4753BF

Accessibility & contrast

On white

12.96
#242B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#242B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B68
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B68#FFFFFF#000000##FFFFFF
##242B681.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242b68;
/* rgb */ color: rgb(36, 43, 104);
/* oklch */ color: oklch(32.1% 0.106 273.9);
Tailwind
colors: {
  custom: {
    50: '#676494',
    500: '#242b68',
    950: '#000000',
  },
}
SCSS
$custom: #242b68;
$custom-light: #676494;
$custom-dark: #000000;
JSON
{
  "hex": "#242b68",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 233.824,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32127,
    "c": 0.106,
    "h": 273.9
  },
  "luminance": 0.03102
}

Semantic roles & 50–950 ramp

primary
#242B68
secondary
#9B934C
accent
#CA50D8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #242B68

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

Preview Lab → · Contrast checker → · Palette generator →

#242B68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva