#242A4E#242A4E

#242A4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.066 H 274.6°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#242A4E
RGBrgb(36, 42, 78)
HSLhsl(231, 37%, 22%)
HSVhsv(231, 54%, 31%)
CMYKcmyk(53.8%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.28, 9.02, -23.06)
CIE-LCHlch(18.28, 24.76, 291.36°)
OKLaboklab(29.89% 0.0053 -0.0653)
OKLCHoklch(29.89% 0.066 274.6)
XYZxyz(2.9302, 2.5809, 7.5500)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A4E #4E4824
analogous
#243F4E #242A4E #33244E
triadic
#242A4E #4E242A #2A4E24
tetradic
#242A4E #4E243F #4E4824 #244E33
square
#242A4E #4E243F #4E4824 #244E33
split-complementary
#242A4E #4E3324 #3F4E24
monochromatic
#0A0B15 #111324 #242A4E #374178 #4B57A2

Accessibility & contrast

On white

13.85
#242A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#242A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A4E
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A4E#FFFFFF#000000##FFFFFF
##242A4E1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2E4F
Deuteranopia (green-blind)
#182B4D
Tritanopia (blue-blind)
#143238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242a4e;
/* rgb */ color: rgb(36, 42, 78);
/* oklch */ color: oklch(29.9% 0.066 274.6);
Tailwind
colors: {
  custom: {
    50: '#626380',
    500: '#242a4e',
    950: '#000000',
  },
}
SCSS
$custom: #242a4e;
$custom-light: #626380;
$custom-dark: #000000;
JSON
{
  "hex": "#242a4e",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 231.429,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29889,
    "c": 0.06552,
    "h": 274.6
  },
  "luminance": 0.02581
}

Semantic roles & 50–950 ramp

primary
#242A4E
secondary
#817A4C
accent
#BD5BCD
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #242A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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