#233097#233097

#233097 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.167 H 270.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#233097
RGBrgb(35, 48, 151)
HSLhsl(233, 62%, 36%)
HSVhsv(233, 77%, 59%)
CMYKcmyk(76.8%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.88, 32.36, -57.64)
CIE-LCHlch(25.88, 66.11, 299.31°)
OKLaboklab(37.41% 0.0005 -0.1668)
OKLCHoklch(37.41% 0.167 270.2)
XYZxyz(7.3341, 4.7048, 29.7937)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233097 #978A23
analogous
#236A97 #233097 #502397
triadic
#233097 #972330 #309723
tetradic
#233097 #97236A #978A23 #239750
square
#233097 #97236A #978A23 #239750
split-complementary
#233097 #975023 #6A9723
monochromatic
#0C1034 #172065 #233097 #2F40C9 #5B69D9

Accessibility & contrast

On white

10.82
#233097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#233097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233097
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233097#FFFFFF#000000##FFFFFF
##2330971.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #233097;
/* rgb */ color: rgb(35, 48, 151);
/* oklch */ color: oklch(37.4% 0.167 270.2);
Tailwind
colors: {
  custom: {
    50: '#7168b7',
    500: '#233097',
    950: '#000000',
  },
}
SCSS
$custom: #233097;
$custom-light: #7168b7;
$custom-dark: #000000;
JSON
{
  "hex": "#233097",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 233.276,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.16678,
    "h": 270.2
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#233097
secondary
#BEB258
accent
#D342E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233097

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

Preview Lab → · Contrast checker → · Palette generator →

#233097 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva