#242E6E#242E6E

#242E6E is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.3% C 0.111 H 272.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#242E6E
RGBrgb(36, 46, 110)
HSLhsl(232, 51%, 29%)
HSVhsv(232, 67%, 43%)
CMYKcmyk(67.3%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.78, 18.28, -38.56)
CIE-LCHlch(21.78, 42.68, 295.37°)
OKLaboklab(33.27% 0.0043 -0.1108)
OKLCHoklch(33.27% 0.111 272.2)
XYZxyz(4.5181, 3.4545, 15.1775)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E6E #6E6424
analogous
#24536E #242E6E #3F246E
triadic
#242E6E #6E242E #2E6E24
tetradic
#242E6E #6E2453 #6E6424 #246E3F
square
#242E6E #6E2453 #6E6424 #246E3F
split-complementary
#242E6E #6E3F24 #536E24
monochromatic
#080A17 #151B40 #242E6E #33419C #495AC3

Accessibility & contrast

On white

12.42
#242E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#242E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E6E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E6E#FFFFFF#000000##FFFFFF
##242E6E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003870
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #242e6e;
/* rgb */ color: rgb(36, 46, 110);
/* oklch */ color: oklch(33.3% 0.111 272.2);
Tailwind
colors: {
  custom: {
    50: '#686698',
    500: '#242e6e',
    950: '#000000',
  },
}
SCSS
$custom: #242e6e;
$custom-light: #686698;
$custom-dark: #000000;
JSON
{
  "hex": "#242e6e",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 231.892,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33274,
    "c": 0.11089,
    "h": 272.2
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#242E6E
secondary
#A1964D
accent
#C74EDA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #242E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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