#233F9A#233F9A

#233F9A is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.152 H 266.4°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#233F9A
RGBrgb(35, 63, 154)
HSLhsl(226, 63%, 37%)
HSVhsv(226, 77%, 60%)
CMYKcmyk(77.3%, 59.1%, 0%, 39.6%)
CIE-LABlab(30.02, 23.47, -52.70)
CIE-LCHlch(30.02, 57.69, 294.01°)
OKLaboklab(40.55% -0.0094 -0.1521)
OKLCHoklch(40.55% 0.152 266.4)
XYZxyz(8.3013, 6.2445, 31.3334)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F9A #9A7E23
analogous
#237B9A #233F9A #42239A
triadic
#233F9A #9A233F #3F9A23
tetradic
#233F9A #9A237B #9A7E23 #239A42
square
#233F9A #9A237B #9A7E23 #239A42
split-complementary
#233F9A #9A4223 #7B9A23
monochromatic
#0C1636 #182B68 #233F9A #2E53CC #5D7BDA

Accessibility & contrast

On white

9.34
#233F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#233F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F9A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F9A#FFFFFF#000000##FFFFFF
##233F9A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233f9a;
/* rgb */ color: rgb(35, 63, 154);
/* oklch */ color: oklch(40.6% 0.152 266.4);
Tailwind
colors: {
  custom: {
    50: '#7173b9',
    500: '#233f9a',
    950: '#000000',
  },
}
SCSS
$custom: #233f9a;
$custom-light: #7173b9;
$custom-dark: #000000;
JSON
{
  "hex": "#233f9a",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 225.882,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4055,
    "c": 0.15242,
    "h": 266.4
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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