#233F7F#233F7F

#233F7F is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.3% C 0.114 H 264.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#233F7F
RGBrgb(35, 63, 127)
HSLhsl(222, 57%, 32%)
HSVhsv(222, 72%, 50%)
CMYKcmyk(72.4%, 50.4%, 0%, 50.2%)
CIE-LABlab(27.96, 12.85, -39.37)
CIE-LCHlch(27.96, 41.42, 288.08°)
OKLaboklab(38.34% -0.0118 -0.1129)
OKLCHoklch(38.34% 0.114 264)
XYZxyz(6.3001, 5.4440, 20.7933)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F7F #7F6323
analogous
#236D7F #233F7F #35237F
triadic
#233F7F #7F233F #3F7F23
tetradic
#233F7F #7F236D #7F6323 #237F35
square
#233F7F #7F236D #7F6323 #237F35
split-complementary
#233F7F #7F3523 #6D7F23
monochromatic
#090F1F #16274F #233F7F #3057AF #4E75CE

Accessibility & contrast

On white

10.05
#233F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#233F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F7F
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F7F#FFFFFF#000000##FFFFFF
##233F7F1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4681
Deuteranopia (green-blind)
#023E7E
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233f7f;
/* rgb */ color: rgb(35, 63, 127);
/* oklch */ color: oklch(38.3% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a73a5',
    500: '#233f7f',
    950: '#000000',
  },
}
SCSS
$custom: #233f7f;
$custom-light: #6a73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#233f7f",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 127
  },
  "hsl": {
    "h": 221.739,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38344,
    "c": 0.11357,
    "h": 264
  },
  "luminance": 0.05445
}

Semantic roles & 50–950 ramp

primary
#233F7F
secondary
#B1934C
accent
#B248E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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