#233A98#233A98

#233A98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.156 H 267.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#233A98
RGBrgb(35, 58, 152)
HSLhsl(228, 63%, 37%)
HSVhsv(228, 77%, 60%)
CMYKcmyk(77%, 61.8%, 0%, 40.4%)
CIE-LABlab(28.51, 26.09, -53.94)
CIE-LCHlch(28.51, 59.92, 295.81°)
OKLaboklab(39.37% -0.006 -0.1558)
OKLCHoklch(39.37% 0.156 267.8)
XYZxyz(7.8717, 5.6496, 30.3753)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233A98 #988123
analogous
#237598 #233A98 #472398
triadic
#233A98 #98233A #3A9823
tetradic
#233A98 #982375 #988123 #239847
square
#233A98 #982375 #988123 #239847
split-complementary
#233A98 #984723 #759823
monochromatic
#0C1435 #182766 #233A98 #2E4DCA #5C75D9

Accessibility & contrast

On white

9.86
#233A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#233A98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233A98
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233A98#FFFFFF#000000##FFFFFF
##233A981.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #233a98;
/* rgb */ color: rgb(35, 58, 152);
/* oklch */ color: oklch(39.4% 0.156 267.8);
Tailwind
colors: {
  custom: {
    50: '#716fb7',
    500: '#233a98',
    950: '#000000',
  },
}
SCSS
$custom: #233a98;
$custom-light: #716fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#233a98",
  "rgb": {
    "r": 35,
    "g": 58,
    "b": 152
  },
  "hsl": {
    "h": 228.205,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.15596,
    "h": 267.8
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#233A98
secondary
#BEAA59
accent
#C542E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233A98

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

Preview Lab → · Contrast checker → · Palette generator →

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