#242E6A#242E6A

#242E6A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.9% C 0.105 H 272.2°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#242E6A
RGBrgb(36, 46, 106)
HSLhsl(231, 49%, 28%)
HSVhsv(231, 66%, 42%)
CMYKcmyk(66%, 56.6%, 0%, 58.4%)
CIE-LABlab(21.47, 16.74, -36.48)
CIE-LCHlch(21.47, 40.14, 294.65°)
OKLaboklab(32.94% 0.0041 -0.1047)
OKLCHoklch(32.94% 0.105 272.2)
XYZxyz(4.3052, 3.3693, 14.0563)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E6A #6A6024
analogous
#24516A #242E6A #3D246A
triadic
#242E6A #6A242E #2E6A24
tetradic
#242E6A #6A2451 #6A6024 #246A3D
square
#242E6A #6A2451 #6A6024 #246A3D
split-complementary
#242E6A #6A3D24 #516A24
monochromatic
#080A17 #141A3C #242E6A #344298 #4859C1

Accessibility & contrast

On white

12.54
#242E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242E6A
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E6A#FFFFFF#000000##FFFFFF
##242E6A1.0012.541.6712.54
#FFFFFF12.541.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06376C
Deuteranopia (green-blind)
#003169
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #242e6a;
/* rgb */ color: rgb(36, 46, 106);
/* oklch */ color: oklch(32.9% 0.105 272.2);
Tailwind
colors: {
  custom: {
    50: '#676695',
    500: '#242e6a',
    950: '#000000',
  },
}
SCSS
$custom: #242e6a;
$custom-light: #676695;
$custom-dark: #000000;
JSON
{
  "hex": "#242e6a",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 106
  },
  "hsl": {
    "h": 231.429,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3294,
    "c": 0.10477,
    "h": 272.2
  },
  "luminance": 0.0337
}

Semantic roles & 50–950 ramp

primary
#242E6A
secondary
#9D924D
accent
#C54FD9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #242E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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