#242E9C#242E9C

#242E9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.175 H 270.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#242E9C
RGBrgb(36, 46, 156)
HSLhsl(235, 63%, 38%)
HSVhsv(235, 77%, 61%)
CMYKcmyk(76.9%, 70.5%, 0%, 38.8%)
CIE-LABlab(25.95, 35.57, -60.58)
CIE-LCHlch(25.95, 70.26, 300.42°)
OKLaboklab(37.62% 0.0021 -0.1754)
OKLCHoklch(37.62% 0.175 270.7)
XYZxyz(7.7033, 4.7285, 31.9528)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E9C #9C9224
analogous
#246A9C #242E9C #56249C
triadic
#242E9C #9C242E #2E9C24
tetradic
#242E9C #9C246A #9C9224 #249C56
square
#242E9C #9C246A #9C9224 #249C56
split-complementary
#242E9C #9C5624 #6A9C24
monochromatic
#0D1139 #191F6A #242E9C #2F3DCE #606ADA

Accessibility & contrast

On white

10.79
#242E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#242E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E9C
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E9C#FFFFFF#000000##FFFFFF
##242E9C1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242e9c;
/* rgb */ color: rgb(36, 46, 156);
/* oklch */ color: oklch(37.6% 0.175 270.7);
Tailwind
colors: {
  custom: {
    50: '#7367ba',
    500: '#242e9c',
    950: '#000000',
  },
}
SCSS
$custom: #242e9c;
$custom-light: #7367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242e9c",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 235,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3762,
    "c": 0.17537,
    "h": 270.7
  },
  "luminance": 0.04729
}

Semantic roles & 50–950 ramp

primary
#242E9C
secondary
#BFB75C
accent
#D842E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #242E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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