#242A68#242A68

#242A68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.9% C 0.107 H 274.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#242A68
RGBrgb(36, 42, 104)
HSLhsl(235, 49%, 27%)
HSVhsv(235, 65%, 41%)
CMYKcmyk(65.4%, 59.6%, 0%, 59.2%)
CIE-LABlab(20.16, 18.81, -37.29)
CIE-LCHlch(20.16, 41.77, 296.77°)
OKLaboklab(31.92% 0.0083 -0.1071)
OKLCHoklch(31.92% 0.107 274.4)
XYZxyz(4.0534, 3.0301, 13.4653)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A68 #686224
analogous
#244C68 #242A68 #402468
triadic
#242A68 #68242A #2A6824
tetradic
#242A68 #68244C #686224 #246840
square
#242A68 #68244C #686224 #246840
split-complementary
#242A68 #684024 #4C6824
monochromatic
#080917 #14183B #242A68 #343C95 #4752BF

Accessibility & contrast

On white

13.08
#242A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A68
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A68#FFFFFF#000000##FFFFFF
##242A681.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242a68;
/* rgb */ color: rgb(36, 42, 104);
/* oklch */ color: oklch(31.9% 0.107 274.4);
Tailwind
colors: {
  custom: {
    50: '#676394',
    500: '#242a68',
    950: '#000000',
  },
}
SCSS
$custom: #242a68;
$custom-light: #676394;
$custom-dark: #000000;
JSON
{
  "hex": "#242a68",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 234.706,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31915,
    "c": 0.10744,
    "h": 274.4
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#242A68
secondary
#9B944C
accent
#CC50D8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #242A68

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

Preview Lab → · Contrast checker → · Palette generator →

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