#233F9D#233F9D

#233F9D is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.157 H 266.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#233F9D
RGBrgb(35, 63, 157)
HSLhsl(226, 64%, 38%)
HSVhsv(226, 78%, 62%)
CMYKcmyk(77.7%, 59.9%, 0%, 38.4%)
CIE-LABlab(30.27, 24.64, -54.11)
CIE-LCHlch(30.27, 59.46, 294.48°)
OKLaboklab(40.81% -0.0094 -0.1563)
OKLCHoklch(40.81% 0.157 266.6)
XYZxyz(8.5543, 6.3457, 32.6658)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F9D #9D8123
analogous
#237C9D #233F9D #44239D
triadic
#233F9D #9D233F #3F9D23
tetradic
#233F9D #9D237C #9D8123 #239D44
square
#233F9D #9D237C #9D8123 #239D44
split-complementary
#233F9D #9D4423 #7C9D23
monochromatic
#0D1739 #182B6B #233F9D #2E53CF #5F7CDB

Accessibility & contrast

On white

9.25
#233F9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#233F9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F9D
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F9D#FFFFFF#000000##FFFFFF
##233F9D1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #233f9d;
/* rgb */ color: rgb(35, 63, 157);
/* oklch */ color: oklch(40.8% 0.157 266.6);
Tailwind
colors: {
  custom: {
    50: '#7273bb',
    500: '#233f9d',
    950: '#000000',
  },
}
SCSS
$custom: #233f9d;
$custom-light: #7273bb;
$custom-dark: #000000;
JSON
{
  "hex": "#233f9d",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 157
  },
  "hsl": {
    "h": 226.23,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.15658,
    "h": 266.6
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#233F9D
secondary
#C0A95C
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #233F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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