#233F9C#233F9C

#233F9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.155 H 266.5°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#233F9C
RGBrgb(35, 63, 156)
HSLhsl(226, 63%, 37%)
HSVhsv(226, 78%, 61%)
CMYKcmyk(77.6%, 59.6%, 0%, 38.8%)
CIE-LABlab(30.19, 24.25, -53.64)
CIE-LCHlch(30.19, 58.87, 294.33°)
OKLaboklab(40.72% -0.0094 -0.1549)
OKLCHoklch(40.72% 0.155 266.5)
XYZxyz(8.4693, 6.3117, 32.2180)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F9C #9C8023
analogous
#237B9C #233F9C #44239C
triadic
#233F9C #9C233F #3F9C23
tetradic
#233F9C #9C237B #9C8023 #239C44
square
#233F9C #9C237B #9C8023 #239C44
split-complementary
#233F9C #9C4423 #7B9C23
monochromatic
#0D1738 #182B6A #233F9C #2E53CE #5E7BDB

Accessibility & contrast

On white

9.28
#233F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#233F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F9C
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F9C#FFFFFF#000000##FFFFFF
##233F9C1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233f9c;
/* rgb */ color: rgb(35, 63, 156);
/* oklch */ color: oklch(40.7% 0.155 266.5);
Tailwind
colors: {
  custom: {
    50: '#7173ba',
    500: '#233f9c',
    950: '#000000',
  },
}
SCSS
$custom: #233f9c;
$custom-light: #7173ba;
$custom-dark: #000000;
JSON
{
  "hex": "#233f9c",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 226.116,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40724,
    "c": 0.15519,
    "h": 266.5
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#233F9C
secondary
#C0A85B
accent
#C041E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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