#232F56#232F56

#232F56 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.6% C 0.072 H 269.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#232F56
RGBrgb(35, 47, 86)
HSLhsl(226, 42%, 24%)
HSVhsv(226, 59%, 34%)
CMYKcmyk(59.3%, 45.3%, 0%, 66.3%)
CIE-LABlab(20.29, 8.14, -25.24)
CIE-LCHlch(20.29, 26.52, 287.88°)
OKLaboklab(31.58% -0.0011 -0.0717)
OKLCHoklch(31.58% 0.072 269.1)
XYZxyz(3.3888, 3.0620, 9.2147)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232F56 #564A23
analogous
#234856 #232F56 #302356
triadic
#232F56 #56232F #2F5623
tetradic
#232F56 #562348 #564A23 #235630
square
#232F56 #562348 #564A23 #235630
split-complementary
#232F56 #563023 #485623
monochromatic
#090C16 #11172B #232F56 #354781 #465FAD

Accessibility & contrast

On white

13.02
#232F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#232F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232F56
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232F56#FFFFFF#000000##FFFFFF
##232F561.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3358
Deuteranopia (green-blind)
#182F55
Tritanopia (blue-blind)
#08383E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #232f56;
/* rgb */ color: rgb(35, 47, 86);
/* oklch */ color: oklch(31.6% 0.072 269.1);
Tailwind
colors: {
  custom: {
    50: '#626786',
    500: '#232f56',
    950: '#000000',
  },
}
SCSS
$custom: #232f56;
$custom-light: #626786;
$custom-dark: #000000;
JSON
{
  "hex": "#232f56",
  "rgb": {
    "r": 35,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 225.882,
    "s": 42.149,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31576,
    "c": 0.07167,
    "h": 269.1
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#232F56
secondary
#8A7B4B
accent
#B556D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #232F56

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

Preview Lab → · Contrast checker → · Palette generator →

#232F56 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva