#242B8F#242B8F

#242B8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.162 H 271.9°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#242B8F
RGBrgb(36, 43, 143)
HSLhsl(236, 60%, 35%)
HSVhsv(236, 75%, 56%)
CMYKcmyk(74.8%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.95, 32.76, -55.87)
CIE-LCHlch(23.95, 64.77, 300.39°)
OKLaboklab(35.79% 0.0053 -0.1616)
OKLCHoklch(35.79% 0.162 271.9)
XYZxyz(6.5477, 4.0853, 26.4247)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B8F #8F8824
analogous
#24608F #242B8F #53248F
triadic
#242B8F #8F242B #2B8F24
tetradic
#242B8F #8F2460 #8F8824 #248F53
square
#242B8F #8F2460 #8F8824 #248F53
split-complementary
#242B8F #8F5324 #608F24
monochromatic
#0B0E2D #181C5E #242B8F #303AC0 #5861D5

Accessibility & contrast

On white

11.56
#242B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#242B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B8F
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B8F#FFFFFF#000000##FFFFFF
##242B8F1.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #242b8f;
/* rgb */ color: rgb(36, 43, 143);
/* oklch */ color: oklch(35.8% 0.162 271.9);
Tailwind
colors: {
  custom: {
    50: '#7065b1',
    500: '#242b8f',
    950: '#000000',
  },
}
SCSS
$custom: #242b8f;
$custom-light: #7065b1;
$custom-dark: #000000;
JSON
{
  "hex": "#242b8f",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 236.075,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.16169,
    "h": 271.9
  },
  "luminance": 0.04086
}

Semantic roles & 50–950 ramp

primary
#242B8F
secondary
#B9B355
accent
#D945E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #242B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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