#242675#242675

#242675 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.132 H 275.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#242675
RGBrgb(36, 38, 117)
HSLhsl(239, 53%, 30%)
HSVhsv(239, 69%, 46%)
CMYKcmyk(69.2%, 67.5%, 0%, 54.1%)
CIE-LABlab(20.22, 26.48, -45.60)
CIE-LCHlch(20.22, 52.73, 300.14°)
OKLaboklab(32.31% 0.0116 -0.1315)
OKLCHoklch(32.31% 0.132 275)
XYZxyz(4.6305, 3.0452, 17.1699)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242675 #757324
analogous
#244E75 #242675 #4B2475
triadic
#242675 #752426 #267524
tetradic
#242675 #75244E #757324 #24754B
square
#242675 #75244E #757324 #24754B
split-complementary
#242675 #754B24 #4E7524
monochromatic
#070817 #161746 #242675 #3235A4 #4C4FC8

Accessibility & contrast

On white

13.05
#242675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#242675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242675
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242675#FFFFFF#000000##FFFFFF
##2426751.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003477
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #242675;
/* rgb */ color: rgb(36, 38, 117);
/* oklch */ color: oklch(32.3% 0.132 275.0);
Tailwind
colors: {
  custom: {
    50: '#6a609e',
    500: '#242675',
    950: '#000000',
  },
}
SCSS
$custom: #242675;
$custom-light: #6a609e;
$custom-dark: #000000;
JSON
{
  "hex": "#242675",
  "rgb": {
    "r": 36,
    "g": 38,
    "b": 117
  },
  "hsl": {
    "h": 238.519,
    "s": 52.941,
    "l": 30
  },
  "oklch": {
    "l": 0.32313,
    "c": 0.13206,
    "h": 275
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#242675
secondary
#A8A64D
accent
#D94BDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #242675

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

Preview Lab → · Contrast checker → · Palette generator →

#242675 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva