#233B97#233B97

#233B97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.153 H 267.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#233B97
RGBrgb(35, 59, 151)
HSLhsl(228, 62%, 36%)
HSVhsv(228, 77%, 59%)
CMYKcmyk(76.8%, 60.9%, 0%, 40.8%)
CIE-LABlab(28.69, 25.03, -53.03)
CIE-LCHlch(28.69, 58.64, 295.26°)
OKLaboklab(39.48% -0.0067 -0.1532)
OKLCHoklch(39.48% 0.153 267.5)
XYZxyz(7.8411, 5.7188, 29.9627)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233B97 #977F23
analogous
#237597 #233B97 #452397
triadic
#233B97 #97233B #3B9723
tetradic
#233B97 #972375 #977F23 #239745
square
#233B97 #972375 #977F23 #239745
split-complementary
#233B97 #974523 #759723
monochromatic
#0C1434 #172865 #233B97 #2F4EC9 #5B75D9

Accessibility & contrast

On white

9.79
#233B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#233B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233B97
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233B97#FFFFFF#000000##FFFFFF
##233B971.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233b97;
/* rgb */ color: rgb(35, 59, 151);
/* oklch */ color: oklch(39.5% 0.153 267.5);
Tailwind
colors: {
  custom: {
    50: '#7070b6',
    500: '#233b97',
    950: '#000000',
  },
}
SCSS
$custom: #233b97;
$custom-light: #7070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#233b97",
  "rgb": {
    "r": 35,
    "g": 59,
    "b": 151
  },
  "hsl": {
    "h": 227.586,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3948,
    "c": 0.15332,
    "h": 267.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#233B97
secondary
#BEA958
accent
#C442E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233B97

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

Preview Lab → · Contrast checker → · Palette generator →

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