#242A67#242A67

#242A67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.106 H 274.5°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#242A67
RGBrgb(36, 42, 103)
HSLhsl(235, 48%, 27%)
HSVhsv(235, 65%, 40%)
CMYKcmyk(65%, 59.2%, 0%, 59.6%)
CIE-LABlab(20.08, 18.43, -36.77)
CIE-LCHlch(20.08, 41.13, 296.62°)
OKLaboklab(31.83% 0.0082 -0.1056)
OKLCHoklch(31.83% 0.106 274.5)
XYZxyz(4.0029, 3.0099, 13.1994)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242A67 #676124
analogous
#244C67 #242A67 #402467
triadic
#242A67 #67242A #2A6724
tetradic
#242A67 #67244C #676124 #246740
square
#242A67 #67244C #676124 #246740
split-complementary
#242A67 #674024 #4C6724
monochromatic
#080917 #14183A #242A67 #343C94 #4752BF

Accessibility & contrast

On white

13.11
#242A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#242A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242A67
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242A67#FFFFFF#000000##FFFFFF
##242A671.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003369
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003844
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242a67;
/* rgb */ color: rgb(36, 42, 103);
/* oklch */ color: oklch(31.8% 0.106 274.5);
Tailwind
colors: {
  custom: {
    50: '#676393',
    500: '#242a67',
    950: '#000000',
  },
}
SCSS
$custom: #242a67;
$custom-light: #676393;
$custom-dark: #000000;
JSON
{
  "hex": "#242a67",
  "rgb": {
    "r": 36,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 234.627,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31829,
    "c": 0.1059,
    "h": 274.5
  },
  "luminance": 0.0301
}

Semantic roles & 50–950 ramp

primary
#242A67
secondary
#9A934C
accent
#CC50D8
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #242A67

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

Preview Lab → · Contrast checker → · Palette generator →

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