#233F97#233F97

#233F97 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.148 H 266.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#233F97
RGBrgb(35, 63, 151)
HSLhsl(226, 62%, 36%)
HSVhsv(226, 77%, 59%)
CMYKcmyk(76.8%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.78, 22.30, -51.26)
CIE-LCHlch(29.78, 55.91, 293.51°)
OKLaboklab(40.29% -0.0096 -0.1479)
OKLCHoklch(40.29% 0.148 266.3)
XYZxyz(8.0546, 6.1458, 30.0339)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F97 #977B23
analogous
#237997 #233F97 #412397
triadic
#233F97 #97233F #3F9723
tetradic
#233F97 #972379 #977B23 #239741
square
#233F97 #972379 #977B23 #239741
split-complementary
#233F97 #974123 #799723
monochromatic
#0C1634 #172A65 #233F97 #2F54C9 #5B7AD9

Accessibility & contrast

On white

9.42
#233F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#233F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F97
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F97#FFFFFF#000000##FFFFFF
##233F971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233f97;
/* rgb */ color: rgb(35, 63, 151);
/* oklch */ color: oklch(40.3% 0.148 266.3);
Tailwind
colors: {
  custom: {
    50: '#7073b6',
    500: '#233f97',
    950: '#000000',
  },
}
SCSS
$custom: #233f97;
$custom-light: #7073b6;
$custom-dark: #000000;
JSON
{
  "hex": "#233f97",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 225.517,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40291,
    "c": 0.14824,
    "h": 266.3
  },
  "luminance": 0.06147
}

Semantic roles & 50–950 ramp

primary
#233F97
secondary
#BEA558
accent
#BE42E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #233F97

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

Preview Lab → · Contrast checker → · Palette generator →

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