#233298#233298

#233298 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.166 H 269.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#233298
RGBrgb(35, 50, 152)
HSLhsl(232, 63%, 37%)
HSVhsv(232, 77%, 60%)
CMYKcmyk(77%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.46, 31.43, -57.29)
CIE-LCHlch(26.46, 65.35, 298.75°)
OKLaboklab(37.86% -0.0008 -0.1658)
OKLCHoklch(37.86% 0.166 269.7)
XYZxyz(7.4993, 4.9047, 30.2511)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233298 #988923
analogous
#236D98 #233298 #4F2398
triadic
#233298 #982332 #329823
tetradic
#233298 #98236D #988923 #23984F
square
#233298 #98236D #988923 #23984F
split-complementary
#233298 #984F23 #6D9823
monochromatic
#0C1135 #182266 #233298 #2E42CA #5C6CD9

Accessibility & contrast

On white

10.60
#233298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#233298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233298
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233298#FFFFFF#000000##FFFFFF
##2332981.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #233298;
/* rgb */ color: rgb(35, 50, 152);
/* oklch */ color: oklch(37.9% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#233298',
    950: '#000000',
  },
}
SCSS
$custom: #233298;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#233298",
  "rgb": {
    "r": 35,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 232.308,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.16576,
    "h": 269.7
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#233298
secondary
#BEB159
accent
#D142E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233298

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

Preview Lab → · Contrast checker → · Palette generator →

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