#242B9F#242B9F

#242B9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.182 H 271.0°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#242B9F
RGBrgb(36, 43, 159)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 77%, 62%)
CMYKcmyk(77.4%, 73%, 0%, 37.6%)
CIE-LABlab(25.58, 38.50, -63.02)
CIE-LCHlch(25.58, 73.85, 301.42°)
OKLaboklab(37.45% 0.0032 -0.1824)
OKLCHoklch(37.45% 0.182 271)
XYZxyz(7.8473, 4.6052, 33.2695)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B9F #9F9824
analogous
#24689F #242B9F #5A249F
triadic
#242B9F #9F242B #2B9F24
tetradic
#242B9F #9F2468 #9F9824 #249F5A
square
#242B9F #9F2468 #9F9824 #249F5A
split-complementary
#242B9F #9F5A24 #689F24
monochromatic
#0D103B #191E6D #242B9F #3039D0 #6269DB

Accessibility & contrast

On white

10.93
#242B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#242B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B9F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B9F#FFFFFF#000000##FFFFFF
##242B9F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242b9f;
/* rgb */ color: rgb(36, 43, 159);
/* oklch */ color: oklch(37.4% 0.182 271.0);
Tailwind
colors: {
  custom: {
    50: '#7465bd',
    500: '#242b9f',
    950: '#000000',
  },
}
SCSS
$custom: #242b9f;
$custom-light: #7465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#242b9f",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 236.585,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37448,
    "c": 0.18248,
    "h": 271
  },
  "luminance": 0.04606
}

Semantic roles & 50–950 ramp

primary
#242B9F
secondary
#C1BB5E
accent
#DD42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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