#233F7D#233F7D

#233F7D is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.2% C 0.111 H 263.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#233F7D
RGBrgb(35, 63, 125)
HSLhsl(221, 56%, 31%)
HSVhsv(221, 72%, 49%)
CMYKcmyk(72%, 49.6%, 0%, 51%)
CIE-LABlab(27.82, 12.06, -38.34)
CIE-LCHlch(27.82, 40.20, 287.46°)
OKLaboklab(38.19% -0.0121 -0.1099)
OKLCHoklch(38.19% 0.111 263.7)
XYZxyz(6.1710, 5.3924, 20.1137)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233F7D #7D6123
analogous
#236C7D #233F7D #34237D
triadic
#233F7D #7D233F #3F7D23
tetradic
#233F7D #7D236C #7D6123 #237D34
square
#233F7D #7D236C #7D6123 #237D34
split-complementary
#233F7D #7D3423 #6C7D23
monochromatic
#080F1D #16274D #233F7D #3057AD #4D75CD

Accessibility & contrast

On white

10.10
#233F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#233F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233F7D
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233F7D#FFFFFF#000000##FFFFFF
##233F7D1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E467F
Deuteranopia (green-blind)
#073E7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233f7d;
/* rgb */ color: rgb(35, 63, 125);
/* oklch */ color: oklch(38.2% 0.111 263.7);
Tailwind
colors: {
  custom: {
    50: '#6a73a3',
    500: '#233f7d',
    950: '#000000',
  },
}
SCSS
$custom: #233f7d;
$custom-light: #6a73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#233f7d",
  "rgb": {
    "r": 35,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 221.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.11059,
    "h": 263.7
  },
  "luminance": 0.05393
}

Semantic roles & 50–950 ramp

primary
#233F7D
secondary
#AF914C
accent
#B048E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #233F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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