#233F8C#233F8C

#233F8C is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.133 H 265.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#233F8C
RGBrgb(35, 63, 140)
HSLhsl(224, 60%, 34%)
HSVhsv(224, 75%, 55%)
CMYKcmyk(75%, 55%, 0%, 45.1%)
CIE-LABlab(28.92, 17.99, -45.91)
CIE-LCHlch(28.92, 49.31, 291.39°)
OKLaboklab(39.37% -0.0103 -0.1322)
OKLCHoklch(39.37% 0.133 265.5)
XYZxyz(7.2026, 5.8050, 25.5467)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F8C #8C7023
analogous
#23748C #233F8C #3C238C
triadic
#233F8C #8C233F #3F8C23
tetradic
#233F8C #8C2374 #8C7023 #238C3C
square
#233F8C #8C2374 #8C7023 #238C3C
split-complementary
#233F8C #8C3C23 #748C23
monochromatic
#0B132A #17295B #233F8C #2F55BD #5577D4

Accessibility & contrast

On white

9.72
#233F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#233F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F8C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F8C#FFFFFF#000000##FFFFFF
##233F8C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #233f8c;
/* rgb */ color: rgb(35, 63, 140);
/* oklch */ color: oklch(39.4% 0.133 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d73ae',
    500: '#233f8c',
    950: '#000000',
  },
}
SCSS
$custom: #233f8c;
$custom-light: #6d73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#233f8c",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 140
  },
  "hsl": {
    "h": 224,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3937,
    "c": 0.1326,
    "h": 265.5
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#233F8C
secondary
#B89D52
accent
#B945E3
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #233F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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