#233F8D#233F8D

#233F8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.134 H 265.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#233F8D
RGBrgb(35, 63, 141)
HSLhsl(224, 60%, 35%)
HSVhsv(224, 75%, 55%)
CMYKcmyk(75.2%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.99, 18.38, -46.41)
CIE-LCHlch(28.99, 49.92, 291.61°)
OKLaboklab(39.45% -0.0102 -0.1336)
OKLCHoklch(39.45% 0.134 265.6)
XYZxyz(7.2767, 5.8346, 25.9368)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F8D #8D7123
analogous
#23748D #233F8D #3C238D
triadic
#233F8D #8D233F #3F8D23
tetradic
#233F8D #8D2374 #8D7123 #238D3C
square
#233F8D #8D2374 #8D7123 #238D3C
split-complementary
#233F8D #8D3C23 #748D23
monochromatic
#0B132B #17295C #233F8D #2F55BE #5577D5

Accessibility & contrast

On white

9.69
#233F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#233F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F8D
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F8D#FFFFFF#000000##FFFFFF
##233F8D1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014990
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233f8d;
/* rgb */ color: rgb(35, 63, 141);
/* oklch */ color: oklch(39.5% 0.134 265.6);
Tailwind
colors: {
  custom: {
    50: '#6e73af',
    500: '#233f8d',
    950: '#000000',
  },
}
SCSS
$custom: #233f8d;
$custom-light: #6e73af;
$custom-dark: #000000;
JSON
{
  "hex": "#233f8d",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 224.151,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.13404,
    "h": 265.6
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#233F8D
secondary
#B99E53
accent
#B944E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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