#233F99#233F99

#233F99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.151 H 266.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#233F99
RGBrgb(35, 63, 153)
HSLhsl(226, 63%, 37%)
HSVhsv(226, 77%, 60%)
CMYKcmyk(77.1%, 58.8%, 0%, 40%)
CIE-LABlab(29.94, 23.08, -52.22)
CIE-LCHlch(29.94, 57.09, 293.85°)
OKLaboklab(40.46% -0.0095 -0.1507)
OKLCHoklch(40.46% 0.151 266.4)
XYZxyz(8.2184, 6.2113, 30.8966)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F99 #997D23
analogous
#237A99 #233F99 #422399
triadic
#233F99 #99233F #3F9923
tetradic
#233F99 #99237A #997D23 #239942
square
#233F99 #99237A #997D23 #239942
split-complementary
#233F99 #994223 #7A9923
monochromatic
#0C1635 #182A67 #233F99 #2E54CB #5D7ADA

Accessibility & contrast

On white

9.36
#233F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#233F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F99
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F99#FFFFFF#000000##FFFFFF
##233F991.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004197
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233f99;
/* rgb */ color: rgb(35, 63, 153);
/* oklch */ color: oklch(40.5% 0.151 266.4);
Tailwind
colors: {
  custom: {
    50: '#7173b8',
    500: '#233f99',
    950: '#000000',
  },
}
SCSS
$custom: #233f99;
$custom-light: #7173b8;
$custom-dark: #000000;
JSON
{
  "hex": "#233f99",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 225.763,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.15103,
    "h": 266.4
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#233F99
secondary
#BEA659
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #233F99

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

Preview Lab → · Contrast checker → · Palette generator →

#233F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva