#242B60#242B60

#242B60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.094 H 274.1°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#242B60
RGBrgb(36, 43, 96)
HSLhsl(233, 45%, 26%)
HSVhsv(233, 63%, 38%)
CMYKcmyk(62.5%, 55.2%, 0%, 62.4%)
CIE-LABlab(19.83, 15.05, -32.59)
CIE-LCHlch(19.83, 35.90, 294.78°)
OKLaboklab(31.47% 0.0067 -0.0933)
OKLCHoklch(31.47% 0.094 274.1)
XYZxyz(3.7021, 2.9471, 11.4378)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B60 #605924
analogous
#244960 #242B60 #3B2460
triadic
#242B60 #60242B #2B6024
tetradic
#242B60 #602449 #605924 #24603B
square
#242B60 #602449 #605924 #24603B
split-complementary
#242B60 #603B24 #496024
monochromatic
#080A16 #131733 #242B60 #353F8D #4553B9

Accessibility & contrast

On white

13.21
#242B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#242B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B60
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B60#FFFFFF#000000##FFFFFF
##242B601.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3362
Deuteranopia (green-blind)
#022D5F
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #242b60;
/* rgb */ color: rgb(36, 43, 96);
/* oklch */ color: oklch(31.5% 0.094 274.1);
Tailwind
colors: {
  custom: {
    50: '#65648d',
    500: '#242b60',
    950: '#000000',
  },
}
SCSS
$custom: #242b60;
$custom-light: #65648d;
$custom-dark: #000000;
JSON
{
  "hex": "#242b60",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 233,
    "s": 45.455,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31467,
    "c": 0.09352,
    "h": 274.1
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#242B60
secondary
#948B4C
accent
#C653D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #242B60

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

Preview Lab → · Contrast checker → · Palette generator →

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