#242E9B#242E9B

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

Color values

HEX#242E9B
RGBrgb(36, 46, 155)
HSLhsl(235, 62%, 37%)
HSVhsv(235, 77%, 61%)
CMYKcmyk(76.8%, 70.3%, 0%, 39.2%)
CIE-LABlab(25.85, 35.21, -60.14)
CIE-LCHlch(25.85, 69.69, 300.35°)
OKLaboklab(37.52% 0.0022 -0.174)
OKLCHoklch(37.52% 0.174 270.7)
XYZxyz(7.6189, 4.6948, 31.5086)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E9B #9B9124
analogous
#246A9B #242E9B #56249B
triadic
#242E9B #9B242E #2E9B24
tetradic
#242E9B #9B246A #9B9124 #249B56
square
#242E9B #9B246A #9B9124 #249B56
split-complementary
#242E9B #9B5624 #6A9B24
monochromatic
#0D1138 #181F69 #242E9B #303DCD #5F6ADA

Accessibility & contrast

On white

10.83
#242E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#242E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E9B
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E9B#FFFFFF#000000##FFFFFF
##242E9B1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242e9b;
/* rgb */ color: rgb(36, 46, 155);
/* oklch */ color: oklch(37.5% 0.174 270.7);
Tailwind
colors: {
  custom: {
    50: '#7367ba',
    500: '#242e9b',
    950: '#000000',
  },
}
SCSS
$custom: #242e9b;
$custom-light: #7367ba;
$custom-dark: #000000;
JSON
{
  "hex": "#242e9b",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 234.958,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37518,
    "c": 0.17406,
    "h": 270.7
  },
  "luminance": 0.04696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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