#242E66#242E66

#242E66 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.099 H 272.2°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#242E66
RGBrgb(36, 46, 102)
HSLhsl(231, 48%, 27%)
HSVhsv(231, 65%, 40%)
CMYKcmyk(64.7%, 54.9%, 0%, 60%)
CIE-LABlab(21.16, 15.20, -34.37)
CIE-LCHlch(21.16, 37.59, 293.86°)
OKLaboklab(32.61% 0.0038 -0.0985)
OKLCHoklch(32.61% 0.099 272.2)
XYZxyz(4.1020, 3.2880, 12.9863)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E66 #665C24
analogous
#244F66 #242E66 #3B2466
triadic
#242E66 #66242E #2E6624
tetradic
#242E66 #66244F #665C24 #24663B
square
#242E66 #66244F #665C24 #24663B
split-complementary
#242E66 #663B24 #4F6624
monochromatic
#080A17 #141A39 #242E66 #344293 #4759BE

Accessibility & contrast

On white

12.67
#242E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#242E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E66
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E66#FFFFFF#000000##FFFFFF
##242E661.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3668
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242e66;
/* rgb */ color: rgb(36, 46, 102);
/* oklch */ color: oklch(32.6% 0.099 272.2);
Tailwind
colors: {
  custom: {
    50: '#666692',
    500: '#242e66',
    950: '#000000',
  },
}
SCSS
$custom: #242e66;
$custom-light: #666692;
$custom-dark: #000000;
JSON
{
  "hex": "#242e66",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 230.909,
    "s": 47.826,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.09856,
    "h": 272.2
  },
  "luminance": 0.03288
}

Semantic roles & 50–950 ramp

primary
#242E66
secondary
#998E4C
accent
#C350D7
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #242E66

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

Preview Lab → · Contrast checker → · Palette generator →

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