#242E59#242E59

#242E59 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.078 H 271.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#242E59
RGBrgb(36, 46, 89)
HSLhsl(229, 42%, 25%)
HSVhsv(229, 60%, 35%)
CMYKcmyk(59.6%, 48.3%, 0%, 65.1%)
CIE-LABlab(20.24, 10.24, -27.30)
CIE-LCHlch(20.24, 29.16, 290.55°)
OKLaboklab(31.62% 0.002 -0.0777)
OKLCHoklch(31.62% 0.078 271.5)
XYZxyz(3.5071, 3.0501, 9.8532)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E59 #594F24
analogous
#244959 #242E59 #352459
triadic
#242E59 #59242E #2E5924
tetradic
#242E59 #592449 #594F24 #245935
square
#242E59 #592449 #594F24 #245935
split-complementary
#242E59 #593524 #495924
monochromatic
#090B16 #12172D #242E59 #364585 #475BB0

Accessibility & contrast

On white

13.04
#242E59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242E59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E59
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E59#FFFFFF#000000##FFFFFF
##242E591.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B335B
Deuteranopia (green-blind)
#142F58
Tritanopia (blue-blind)
#07373F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242e59;
/* rgb */ color: rgb(36, 46, 89);
/* oklch */ color: oklch(31.6% 0.078 271.5);
Tailwind
colors: {
  custom: {
    50: '#646688',
    500: '#242e59',
    950: '#000000',
  },
}
SCSS
$custom: #242e59;
$custom-light: #646688;
$custom-dark: #000000;
JSON
{
  "hex": "#242e59",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 89
  },
  "hsl": {
    "h": 228.679,
    "s": 42.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31621,
    "c": 0.07773,
    "h": 271.5
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#242E59
secondary
#8D804C
accent
#BB56D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06050B
muted
#7A7A7C

Preview Lab

Preview with #242E59

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

Preview Lab → · Contrast checker → · Palette generator →

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