#242E68#242E68

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

Color values

HEX#242E68
RGBrgb(36, 46, 104)
HSLhsl(231, 49%, 27%)
HSVhsv(231, 65%, 41%)
CMYKcmyk(65.4%, 55.8%, 0%, 59.2%)
CIE-LABlab(21.31, 15.97, -35.43)
CIE-LCHlch(21.31, 38.87, 294.26°)
OKLaboklab(32.78% 0.004 -0.1016)
OKLCHoklch(32.78% 0.102 272.2)
XYZxyz(4.2024, 3.3282, 13.5150)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E68 #685E24
analogous
#245068 #242E68 #3C2468
triadic
#242E68 #68242E #2E6824
tetradic
#242E68 #682450 #685E24 #24683C
square
#242E68 #682450 #685E24 #24683C
split-complementary
#242E68 #683C24 #506824
monochromatic
#080A17 #141A3B #242E68 #344295 #4759BF

Accessibility & contrast

On white

12.61
#242E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#242E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E68
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E68#FFFFFF#000000##FFFFFF
##242E681.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A366A
Deuteranopia (green-blind)
#003067
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242e68;
/* rgb */ color: rgb(36, 46, 104);
/* oklch */ color: oklch(32.8% 0.102 272.2);
Tailwind
colors: {
  custom: {
    50: '#676694',
    500: '#242e68',
    950: '#000000',
  },
}
SCSS
$custom: #242e68;
$custom-light: #676694;
$custom-dark: #000000;
JSON
{
  "hex": "#242e68",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 231.176,
    "s": 48.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.10168,
    "h": 272.2
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#242E68
secondary
#9B904C
accent
#C450D8
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #242E68

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

Preview Lab → · Contrast checker → · Palette generator →

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