#233F98#233F98

#233F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.150 H 266.3°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#233F98
RGBrgb(35, 63, 152)
HSLhsl(226, 63%, 37%)
HSVhsv(226, 77%, 60%)
CMYKcmyk(77%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.86, 22.69, -51.74)
CIE-LCHlch(29.86, 56.50, 293.68°)
OKLaboklab(40.38% -0.0095 -0.1493)
OKLCHoklch(40.38% 0.15 266.3)
XYZxyz(8.1362, 6.1784, 30.4634)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F98 #987C23
analogous
#237A98 #233F98 #422398
triadic
#233F98 #98233F #3F9823
tetradic
#233F98 #98237A #987C23 #239842
square
#233F98 #98237A #987C23 #239842
split-complementary
#233F98 #984223 #7A9823
monochromatic
#0C1635 #182A66 #233F98 #2E54CA #5C7AD9

Accessibility & contrast

On white

9.39
#233F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#233F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F98
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F98#FFFFFF#000000##FFFFFF
##233F981.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #233f98;
/* rgb */ color: rgb(35, 63, 152);
/* oklch */ color: oklch(40.4% 0.150 266.3);
Tailwind
colors: {
  custom: {
    50: '#7073b7',
    500: '#233f98',
    950: '#000000',
  },
}
SCSS
$custom: #233f98;
$custom-light: #7073b7;
$custom-dark: #000000;
JSON
{
  "hex": "#233f98",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 225.641,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40377,
    "c": 0.14963,
    "h": 266.3
  },
  "luminance": 0.06179
}

Semantic roles & 50–950 ramp

primary
#233F98
secondary
#BEA659
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #233F98

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

Preview Lab → · Contrast checker → · Palette generator →

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