#243F98#243F98

#243F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.149 H 266.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#243F98
RGBrgb(36, 63, 152)
HSLhsl(226, 62%, 37%)
HSVhsv(226, 76%, 60%)
CMYKcmyk(76.3%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.90, 22.82, -51.67)
CIE-LCHlch(29.90, 56.48, 293.82°)
OKLaboklab(40.42% -0.0087 -0.1491)
OKLCHoklch(40.42% 0.149 266.7)
XYZxyz(8.1706, 6.1962, 30.4650)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243F98 #987D24
analogous
#247998 #243F98 #432498
triadic
#243F98 #98243F #3F9824
tetradic
#243F98 #982479 #987D24 #249843
square
#243F98 #982479 #987D24 #249843
split-complementary
#243F98 #984324 #799824
monochromatic
#0D1635 #182A67 #243F98 #3054C9 #5E7AD9

Accessibility & contrast

On white

9.38
#243F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#243F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243F98
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243F98#FFFFFF#000000##FFFFFF
##243F981.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #243f98;
/* rgb */ color: rgb(36, 63, 152);
/* oklch */ color: oklch(40.4% 0.149 266.7);
Tailwind
colors: {
  custom: {
    50: '#7173b7',
    500: '#243f98',
    950: '#000000',
  },
}
SCSS
$custom: #243f98;
$custom-light: #7173b7;
$custom-dark: #000000;
JSON
{
  "hex": "#243f98",
  "rgb": {
    "r": 36,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 226.034,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.14935,
    "h": 266.7
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#243F98
secondary
#BEA65A
accent
#BF43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #243F98

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

Preview Lab → · Contrast checker → · Palette generator →

#243F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva