#242B98#242B98

#242B98 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.173 H 271.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#242B98
RGBrgb(36, 43, 152)
HSLhsl(236, 62%, 37%)
HSVhsv(236, 76%, 60%)
CMYKcmyk(76.3%, 71.7%, 0%, 40.4%)
CIE-LABlab(24.86, 36.02, -59.93)
CIE-LCHlch(24.86, 69.92, 301.00°)
OKLaboklab(36.71% 0.0042 -0.1734)
OKLCHoklch(36.71% 0.174 271.4)
XYZxyz(7.2570, 4.3690, 30.1605)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B98 #989124
analogous
#246598 #242B98 #572498
triadic
#242B98 #98242B #2B9824
tetradic
#242B98 #982465 #989124 #249857
square
#242B98 #982465 #989124 #249857
split-complementary
#242B98 #985724 #659824
monochromatic
#0D0F35 #181D67 #242B98 #3039C9 #5E65D9

Accessibility & contrast

On white

11.21
#242B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#242B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B98
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B98#FFFFFF#000000##FFFFFF
##242B981.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #242b98;
/* rgb */ color: rgb(36, 43, 152);
/* oklch */ color: oklch(36.7% 0.173 271.4);
Tailwind
colors: {
  custom: {
    50: '#7265b7',
    500: '#242b98',
    950: '#000000',
  },
}
SCSS
$custom: #242b98;
$custom-light: #7265b7;
$custom-dark: #000000;
JSON
{
  "hex": "#242b98",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 236.379,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.1735,
    "h": 271.4
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#242B98
secondary
#BEB85A
accent
#DB43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B98

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

Preview Lab → · Contrast checker → · Palette generator →

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