#233C97#233C97

#233C97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.152 H 267.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#233C97
RGBrgb(35, 60, 151)
HSLhsl(227, 62%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(76.8%, 60.3%, 0%, 40.8%)
CIE-LABlab(28.96, 24.35, -52.60)
CIE-LCHlch(28.96, 57.96, 294.84°)
OKLaboklab(39.68% -0.0074 -0.1519)
OKLCHoklch(39.68% 0.152 267.2)
XYZxyz(7.8930, 5.8225, 29.9800)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C97 #977E23
analogous
#237697 #233C97 #442397
triadic
#233C97 #97233C #3C9723
tetradic
#233C97 #972376 #977E23 #239744
square
#233C97 #972376 #977E23 #239744
split-complementary
#233C97 #974423 #769723
monochromatic
#0C1534 #172865 #233C97 #2F50C9 #5B76D9

Accessibility & contrast

On white

9.70
#233C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#233C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C97
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C97#FFFFFF#000000##FFFFFF
##233C971.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233c97;
/* rgb */ color: rgb(35, 60, 151);
/* oklch */ color: oklch(39.7% 0.152 267.2);
Tailwind
colors: {
  custom: {
    50: '#7071b6',
    500: '#233c97',
    950: '#000000',
  },
}
SCSS
$custom: #233c97;
$custom-light: #7071b6;
$custom-dark: #000000;
JSON
{
  "hex": "#233c97",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 227.069,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3968,
    "c": 0.15206,
    "h": 267.2
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#233C97
secondary
#BEA858
accent
#C242E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233C97

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

Preview Lab → · Contrast checker → · Palette generator →

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