#233F9F#233F9F

#233F9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.159 H 266.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#233F9F
RGBrgb(35, 63, 159)
HSLhsl(226, 64%, 38%)
HSVhsv(226, 78%, 62%)
CMYKcmyk(78%, 60.4%, 0%, 37.6%)
CIE-LABlab(30.44, 25.41, -55.05)
CIE-LCHlch(30.44, 60.64, 294.78°)
OKLaboklab(40.99% -0.0093 -0.1591)
OKLCHoklch(40.99% 0.159 266.7)
XYZxyz(8.7265, 6.4146, 33.5724)
Luminance0.0642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F9F #9F8323
analogous
#237D9F #233F9F #45239F
triadic
#233F9F #9F233F #3F9F23
tetradic
#233F9F #9F237D #9F8323 #239F45
square
#233F9F #9F237D #9F8323 #239F45
split-complementary
#233F9F #9F4523 #7D9F23
monochromatic
#0D173B #182B6D #233F9F #2E53D1 #607CDC

Accessibility & contrast

On white

9.20
#233F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#233F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F9F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F9F#FFFFFF#000000##FFFFFF
##233F9F1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #233f9f;
/* rgb */ color: rgb(35, 63, 159);
/* oklch */ color: oklch(41.0% 0.159 266.7);
Tailwind
colors: {
  custom: {
    50: '#7273bc',
    500: '#233f9f',
    950: '#000000',
  },
}
SCSS
$custom: #233f9f;
$custom-light: #7273bc;
$custom-dark: #000000;
JSON
{
  "hex": "#233f9f",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 159
  },
  "hsl": {
    "h": 226.452,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40989,
    "c": 0.15933,
    "h": 266.7
  },
  "luminance": 0.06416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #233F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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